Skip to content

drop python 3.2 and 3.3 compatibility? #65

@ThomasWaldmann

Description

@ThomasWaldmann

being compatible with older python versions puts some burden on development:

  • tests have to be run on them also (slower test runs, we currently test for 4 python versions)
  • some stuff needs special treatment in the code (because it is broken, different or not present)
  • we can not use latest releases of some libraries and tools, because they already dropped 3.2 support

python 3.3: https://docs.python.org/3/whatsnew/3.3.html

  • new: lzma compression
  • new: unicode literals with u"" (this could be interesting if somebody would like to port to 2.7)
  • new: getting the terminal dimensions
  • new: print(..., flush=True), see sys.stdout.flush() in the code
  • new: xattr stdlib code, see look at new xattr stuff in python 3.3 #142
  • new: mock is in stdlib, see mock: use mock from stdlib #145
  • new: os.replace, .posix_fadvise, .posix_fallocate, .sync, SEEK_HOLE/SEEK_DATA
  • new: shutil.disk_usage, stat.filemode, time.process_time
  • new: PyMemoryView_FromMemory
  • improved: nanosecond precision for stat/utime
  • venv comes with it

python 3.4: https://docs.python.org/3/whatsnew/3.4.html

  • new: Enum, pathlib, selectors, hashlib.pbkdf2_hmac
  • improved: ssl, bytes, bytearray, memoryview, hmac, glob, argparse, os, stat, threading
  • pip comes with it

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions