Any news on when some libraries will be ported to Python 3.0?

Roger Binns rogerb at rogerbinns.com
Wed Jan 7 10:13:11 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just Another Victim of the Ambient Morality wrote:
>     Anyway, I'd love to hear some news about any of these things in 
> particular or even anything in general.  Am I the only one who's psyched for 
> this version of Python?

I ported my APSW SQLite access module many months before Python 3.0 was
released (around the time of the first beta release).  The same codebase
supports both Python 2 and 3 with very few conditionals and a few macros
to make some Python 2 C api look like the Python 3 C api (eg pretending
that the bytes type exists).  Python 2.3 and up are supported on all
platforms.

It took longest to port my test suite over as I have 99.6% code coverage
which is achieved by the test suite abusing every corner of the language
and implementation.  Fortunately a whole host of issues go away because
of no 8 bit strings in Python 3.

Other tools like Sphinx made my documentation so much better.  That
actually psyches me the most since Python is all about ease of reading
and writing.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklkchwACgkQmOOfHg372QTgewCfXBrz0UGuUNDqxjVGEJOwfF4p
N6QAoJvZCZ1Vm9f6sN0P4bXb8o3I2pVj
=Lba+
-----END PGP SIGNATURE-----




More information about the Python-list mailing list