[RELEASED] six 1.5.0

Benjamin Peterson benjamin at python.org
Sun Jan 5 02:08:18 CET 2014


I'm happy to announce the immediate release of six 1.5.0. six is a
Python 2/3 compatibility library designed to aid the same-source
migration path. The new release can be downloaded on PyPI:

    https://pypi.python.org/pypi/six

six.moves has been improved to act more like real modules. You should be
able to import directly classes and functions from six.moves Python 2.4
support has been dropped as of this release. This is because py.test
stopped supporting 2.4.

I'd particularly like to thank Marc Abramowitz and Alexander Lukanin for
contributing patches.

Report bugs to

    https://bitbucket.org/gutworth/six

Here is the complete changelog:

- Removed support for Python 2.4. This is because py.test no longer
supports
  2.4.

- Fix various import problems including issues #19 and #41. six.moves
modules
  are now lazy wrappers over the underlying modules instead of the
  actual
  modules themselves.

- Issue #49: Add six.moves mapping for tkinter.ttk.

- Pull request #24: Add __dir__ special method to six.moves modules.

- Issue #47: Fix add_metaclass on classes with a string for the
__slots__
  variable.

- Issue #44: Fix interpretation of backslashes on Python 2 in the u()
function.

- Pull request #21: Add import mapping for urllib's proxy_bypass
function.

- Issue #43: Add import mapping for the Python 2 xmlrpclib module.

- Issue #39: Add import mapping for the Python 2 thread module.

- Issue #40: Add import mapping for the Python 2 gdbm module.

- Issue #35: On Python versions less than 2.7, print_ now encodes
unicode
  strings when outputing to standard streams. (Python 2.7 handles this
  automatically.)


-- 
Regards,
Benjamin


More information about the Python-announce-list mailing list