Le ven. 7 sept. 2018 à 11:02, M.-A. Lemburg firstname.lastname@example.org a écrit :
I think this discussion is a bit misleading.
This is why I'm asking for help to clarify it :-)
Cython allows you to wrap existing C code, but if you want to use Python objects in C or details which are not exposed at the Python level, you still need the Python C API to work with those.
I'm trying to remove functions from the C API which allow to do things which are not possible at the Python level: https://pythoncapi.readthedocs.io/bad_api.html#no-public-c-functions-if-it-c...
It's a request coming from PyPy developers.
Please don't forget that the Python C API was key in making it so popular for integration. It's generally a very nice API to work with as C programmer.
I am well aware of that and I tried to repeat it in my document :-) Since some people like to repeat "Let's just remove the C A API!", I added a new page to explain why it's not possible today: https://pythoncapi.readthedocs.io/remove_c_api.html