Python 3000 C API Changes

R

rahul

I am trying to find out what Python C APIs are changing from Python
2.5 to Python 3.0 but there does not seem to be a single list of
changes (or at least google is not finding one).
If someone knows about where I should look, please let me know.
 
S

Stefan Behnel

rahul said:
I am trying to find out what Python C APIs are changing from Python
2.5 to Python 3.0 but there does not seem to be a single list of
changes (or at least google is not finding one).
If someone knows about where I should look, please let me know.

Check out what Cython does in its module header, method
"generate_module_preamble". It has an (obviously incomplete) list of the most
important adaptations to write portable code for Py2.3 to 3.0.

http://hg.cython.org/cython-devel/file/tip/Cython/Compiler/ModuleNode.py

Stefan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top