I'm happy to announce the release of six 1.3.0. There's nothing particularly ground-breaking here; gradual improvement on a few fronts. Thanks to Marc Abramowitz for some pull requests.
Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions. See the documentation for more information on what is provided.
Six supports Python 2.4+.
Online documentation is at http://packages.python.org/six/.
Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also be found there.
Here is the changelog for six 1.3.0:
- Issue #21: Add methods to access the closure and globals of a function.
- In six.iter(items/keys/values/lists), passed keyword arguments through to the underlying method.
- Add six.iterlists().
- Issue #20: Fix tests if tkinter is not available.
- Issue #17: Define callable to be builtin callable when it is available again in Python 3.2+.
- Issue #16: Rename Python 2 exec_'s arguments, so casually calling exec_ with keyword arguments will raise.
- Issue #14: Put the six.moves package in sys.modules based on the name six is imported under.
- Fix Jython detection.
- Pull request #4: Add email_mime_multipart, email_mime_text, and email_mime_base to six.moves.
Have fun, Benjamin