[RELEASE] six 1.7.0

Benjamin Peterson benjamin at python.org
Sun Jun 8 04:43:03 CEST 2014


I'm pleased to announce the immediate availability of six 1.7.0. six is
a small Python 2/3 compatibility library. The most interesting change in
this release is yet another implementation by Anselm Kruis of six.moves
using a sys.meta_path hook. Hopefully, this will cause less issues with
the various tools that iterate blindly over sys.modules.

Downloads are on PyPI:
    https://pypi.python.org/pypi/six

Documentation is available on Read the Docs:
    http://six.readthedocs.org/

Here is the changelog for 1.7.0:
- Pull request #30: Implement six.moves with a PEP 302 meta path hook.

- Pull request #32: Add six.wraps, which is like functools.wraps but
always sets
  the __wrapped__ attribute.

- Pull request #35: Improve add_metaclass, so that it doesn't end up
inserting
  another class into the hierarchy.

- Pull request #34: Add import mappings for dummy_thread.

- Pull request #33: Add import mappings for UserDict and UserList.

- Pull request #31: Select the implementations of dictionary iterator
routines
  at import time for a 20% speed boost.


More information about the Python-announce-list mailing list