Links ===== * `Python/C API Reference Manual `_ * `HPy: a better API for Python `_ * `Cython: C-extensions for Python `_ * `Old 2to3c project `_ by David Malcolm which uses `Coccinelle `_ to ease migration of C extensions from Python 2 to Python 3. See also `2to3c: an implementation of Python's 2to3 for C code `_ article (2009). * PEPs related to the C API: * `PEP 620 -- Hide implementation details from the C API `_ * `PEP 670 -- Convert macros to functions in the Python C API `_ * `PEP 674 -- Disallow using macros as l-values `_ * Make structures opaque * `bpo-39573: PyObject `_ * `bpo-40170: PyTypeObject `_ * `bpo-39947: PyThreadState `_ * `bpo-40421: PyFrameObject `_ * `bpo-47241: PyCodeObject `_