A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pythoncapi.readthedocs.io/remove_c_api.html below:

Remove the C API — pythoncapi 0.1 documentation

Remove the C API

See Test the next Python 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:

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? 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 Consumers of the Python C API to see others examples.

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4