Python-3
Randall Whitman <[email protected]> Thu, 01 Nov 2012 12:04:56 -0700
| Newsgroups | gmane.comp.gnu.enterprise.devel |
|---|---|
| Message-ID | <1801.1351796696@randall-desktop> |
Today I was looking at Python-3. Reinhard/anyone, have you thought any about the approach to Python-3 for GNUe: * try to single-source for both Python-2 & Python-3; * compatibility library <http://packages.python.org/six/> ; * separate branches of some sort; * use 2to3 in build script when targeting Python-3 (or 3to2 for Python-2); * support 2.6+ only, vs. 2.5- also; * other? /Randall Links: http://wiki.python.org/moin/PortingPythonToPy3k http://docs.python.org/3/howto/pyporting.html http://python3porting.com/noconv.html http://www.dwheeler.com/essays/python3-in-python2.html http://ptgmedia.pearsoncmg.com/imprint_downloads/informit/promotions/python/python2python3.pdf (PDF)