mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.14] gh-133678: Document C API third party tools (GH-134526) (#134793)
gh-133678: Document C API third party tools (GH-134526)
(cherry picked from commit c3c88064f5)
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Steve Dower <steve.dower@python.org>
This commit is contained in:
parent
00122c8b2a
commit
a1b6252c88
4 changed files with 46 additions and 35 deletions
|
|
@ -14,13 +14,11 @@ We recommend the following resources for porting extension modules to Python 3:
|
|||
module.
|
||||
* The `Porting guide`_ from the *py3c* project provides opinionated
|
||||
suggestions with supporting code.
|
||||
* The `Cython`_ and `CFFI`_ libraries offer abstractions over
|
||||
Python's C API.
|
||||
* :ref:`Recommended third party tools <c-api-tools>` offer abstractions over
|
||||
the Python's C API.
|
||||
Extensions generally need to be re-written to use one of them,
|
||||
but the library then handles differences between various Python
|
||||
versions and implementations.
|
||||
|
||||
.. _Migrating C extensions: http://python3porting.com/cextensions.html
|
||||
.. _Porting guide: https://py3c.readthedocs.io/en/latest/guide.html
|
||||
.. _Cython: https://cython.org/
|
||||
.. _CFFI: https://cffi.readthedocs.io/en/latest/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue