[Python-Dev] Using Cython for standard library?

Terry Reedy tjreedy at udel.edu
Tue Nov 4 22:36:58 CET 2008


Stefan Behnel wrote:

> I think the main advantage for stdlib modules is actually the maintenance
> cost. Having a single, easy-to-read code base for extension modules that
> compiles without modification in Py2.6/7 and Py3.0/3.1 (and 2.3, 2.4 and 2.5),
> makes life a lot easier for both maintainers and backporters.

Do you have any plans to support/use 3.0 type annotations so that one 
could develop function-oriented code in 3.0 and then compile efficient C 
(for whatever CPython version) without adding Python-incompatible cdefs?



More information about the Python-Dev mailing list