You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`SWIG <https://www.swig.org>`_ and `Numba <https://numba.pydata.org/>`_
32
-
offer both simpler and more sophisticated approaches to creating C and C++
33
-
extensions for Python.
34
-
35
-
.. seealso::
36
-
37
-
`Python Packaging User Guide: Binary Extensions <https://packaging.python.org/guides/packaging-binary-extensions/>`_
38
-
The Python Packaging User Guide not only covers several available
39
-
tools that simplify the creation of binary extensions, but also
40
-
discusses the various reasons why creating an extension module may be
41
-
desirable in the first place.
29
+
as part of this version of CPython. Some :ref:`third party tools
30
+
<c-api-tools>` offer both simpler and more sophisticated approaches to creating
Copy file name to clipboardExpand all lines: Doc/howto/cporting.rst
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,11 @@ We recommend the following resources for porting extension modules to Python 3:
14
14
module.
15
15
* The `Porting guide`_ from the *py3c* project provides opinionated
16
16
suggestions with supporting code.
17
-
* The `Cython`_ and `CFFI`_ libraries offer abstractions over
18
-
Python's C API.
17
+
* :ref:`Recommended third party tools <c-api-tools>` offer abstractions over
18
+
the Python's C API.
19
19
Extensions generally need to be re-written to use one of them,
20
20
but the library then handles differences between various Python
21
21
versions and implementations.
22
22
23
23
.. _Migrating C extensions: http://python3porting.com/cextensions.html
0 commit comments