Skip to content

Commit

Permalink
test Python next
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Apr 14, 2021
1 parent 707f25a commit 6175a76
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/remove_c_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
Remove the C API
++++++++++++++++

See `Test the next Python
<https://pythondev.readthedocs.io/test_next_python.html>`_ to estimate how many
C extension modules would be broken by a C API change, like removing a
function.

One proposed alternative to a new better C API is no C API at all. The reasoning is that since existing
solutions are already available, complete and reliable:

Expand All @@ -14,9 +19,9 @@ We do not need to have one for python itself.

However, this approach has lots of open questions without satisfying answers:

What about the long tail of C extensions on PyPI which still use the C extension?
What about the long tail of C extensions on PyPI which still use the C extension?
Would it mean a new Python without all these C extensions on PyPI?

Moreover, lots of project do not use those solution, and the C API is part of Python success. For example, there would be no numpy without the C API, and one can look at :ref:`Consumers of the Python C API <consumers>` to see others examples.
Moreover, lots of project do not use those solution, and the C API is part of Python success. For example, there would be no numpy without the C API, and one can look at :ref:`Consumers of the Python C API <consumers>` to see others examples.

Removing it would negatively impact those projects, so this doesn't sound like a workable solution.

0 comments on commit 6175a76

Please sign in to comment.