Python 3.13 alpha 1 contains breaking changes, what's the plan?

Because the changes remove the private functions from the Python library (they are no longer being exported), you can only do this by copying the internal API’s sources verbatim into Cython generated C code (either directly or via some #include).

Victor has a point in claiming that private Python C API should indeed be private, but his approach feels too radical.

At the very least, a PEP should have been written and approved by the Steering Council prior to committing the changes, so that the Python community of extension writers becomes aware of the intended change and gets a chance to participate in the discussion.

4 Likes