| 1 |
Links |
| 2 |
===== |
| 3 |
|
| 4 |
* `Python/C API Reference Manual <https://docs.python.org/dev/c-api/>`_ |
| 5 |
* `HPy: a better API for Python |
| 6 |
<https://hpy.readthedocs.io/>`_ |
| 7 |
* `Cython: C-extensions for Python |
| 8 |
<https://cython.org/>`_ |
| 9 |
* `Old 2to3c project <https://github.com/davidmalcolm/2to3c>`_ by David Malcolm |
| 10 |
which uses `Coccinelle <https://coccinelle.gitlabpages.inria.fr/website/>`_ |
| 11 |
to ease migration of C extensions from Python 2 to Python 3. See |
| 12 |
also `2to3c: an implementation of Python's 2to3 for C code |
| 13 |
<https://dmalcolm.livejournal.com/3935.html>`_ article (2009). |
| 14 |
* PEPs related to the C API: |
| 15 |
|
| 16 |
* `PEP 620 -- Hide implementation details from the C API |
| 17 |
<https://www.python.org/dev/peps/pep-0620/>`_ |
| 18 |
* `PEP 670 -- Convert macros to functions in the Python C API |
| 19 |
<https://www.python.org/dev/peps/pep-0670/>`_ |
| 20 |
* `PEP 674 -- Disallow using macros as l-values |
| 21 |
<https://www.python.org/dev/peps/pep-0674/>`_ |
| 22 |
|
| 23 |
* Make structures opaque |
| 24 |
|
| 25 |
* `bpo-39573: PyObject <https://bugs.python.org/issue39573>`_ |
| 26 |
* `bpo-40170: PyTypeObject <https://bugs.python.org/issue40170>`_ |
| 27 |
* `bpo-39947: PyThreadState <https://bugs.python.org/issue39947>`_ |
| 28 |
* `bpo-40421: PyFrameObject <https://bugs.python.org/issue40421>`_ |
| 29 |
* `bpo-47241: PyCodeObject <https://bugs.python.org/issue47241>`_ |