[Python-Dev] C-API status of Python 3?

Christian Heimes lists at cheimes.de
Sat Mar 1 21:14:03 CET 2008

Stefan Behnel wrote:
> I would like to know how stable the C-API of Python 3 is, or what the expected
> release level (beta?) would be at which I can expect it to stabilise. What is
> the plan here?
> The background is Cython, which will need to support Python 3 one day or
> another, so I wanted to know from which point on it will make sense to start
> thinking about a migration plan.

The 3.0 API isn't stable yet. I plan to rename some of the functions
before the first beta is released. Currently the naming schema is too

PyUnicode - str
PyString - bytes
PyBytes - bytearray

See? :)

The documentation for the PyString functions is outdated and IIRC the
PyBytes docs are non existing.


More information about the Python-Dev mailing list