[Scons-dev] Python 3
Eric S. Raymond
esr at thyrsus.com
Fri Apr 1 13:13:37 EDT 2016
Russel Winder <russel at winder.org.uk>:
> As far as I remember we had made the decision to ditch six. Step 1 is
> to make the code futurize -1 compliant and run under Python 2.7 then to
> decide whether to have the futurize dependency so as to go the whole
> Python 3.5 thing. The doubt was that some people didn't want the
> futurize dependency.
Read this:
Practical Python Porting for Systems Programmers:
http://www.catb.org/esr/faqs/practical-python-porting/
In summary, it's possible (and not actually very difficult) to write Python
that runs under either 2.7 or 3.x. The above is a step-by-step guide with
links to real examples, e.g. larg e Python programs that have been
successfully ported this way.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20160401/4e7210a1/attachment-0001.pgp>
More information about the Scons-dev
mailing list