I'm pleased to announce the immediate availability of six 1.1.0. six is a small compatibility library for writing code that works on Python 2 and 3 without modification.
six 1.1 features several incremental improvements over 1.0. The complete list of changes is:
- Add the int2byte function for converting an int of value less than 256 to a bytes object.
- Add compatibility mappings for iterators over the keys, values, and items of a dictionary.
- Fix six.MAXSIZE on platforms where sizeof(long) != sizeof(Py_ssize_t).
- Issue #3: Add six.moves mappings for filter, map, and zip.
You can download six on PyPi: http://pypi.python.org/pypi/six
The documentation is at: http://packages.python.org/six/
Please report bugs at: http://bitbucket.org/gutworth/six