1. Marc Abramowitz
  2. six-1


six-1 /

Filename Size Date modified Message
59 B
284 B
2.8 KB
394 B
1.1 KB
114 B
769 B
753 B
20.5 KB
16.4 KB
224 B

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 every Python version since 2.4. It is contained in only one Python file, so it can be easily copied into your project. (The copyright and license notice must be retained.)

Online documentation is at http://pythonhosted.org/six/.

Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also be found there.

For questions about six or porting in general, email the python-porting mailing list: http://mail.python.org/mailman/listinfo/python-porting