six
https://github.com/benjaminp/six
Python
Python 2 and 3 compatibility library
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to six
Help out
- Issues
- string module methods moved
- int2byte does not match documentation on Python 3
- Match Python 3 metaclass syntax
- six.moves.builtins causes strange exception
- Add six.moves entry for anydbm->dbm
- six.hasattr()? Behaving like Python 3 - not swallowing _all_ exceptions
- Add __repr__ support to @python_2_unicode_compatible
- PY34 is defined inconsistently compared to PY2 and PY3
- Mix-in class to make implementing __dir__ in subclasses simpler
- Add version independent bytes constructor
- Docs
- Python not yet supported