Python 2 / 3 compatibility, like six, but favouring Python 3
http://pypi.python.org/pypi/nine
Let's write Python 3 right now!
When the best Python 2/Python 3 compatibility modules -- especially the
famous `*six* library invented by Benjamin Peterson
`_ -- were created, they were written
from the point of view of a Python 2 programmer starting to grok Python 3.
When thou writeth Python, thou shalt write Python 3 and, just for a while,
ensure that the thing worketh on Python 2.7 and, possibly, even 2.6.
Just before Python 2 is finally phased out, thine codebase shall look more
like 3 than like 2.
nine facilitates this new point of view. You can write code that is as
3ish as possible while still supporting 2.6. Very comfortable for writing
new projects.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout isv:perlur:epel/python-nine && cd $_ - Create Badge
Refresh
Source Files
| Filename | Size | Changed |
|---|---|---|
| nine-0.3.4.tar.gz | 0000007191 7.02 KB | |
| python-nine.spec | 0000004165 4.07 KB |
Comments 0