On 07.09.2018 11:46, Victor Stinner wrote:
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...
Sorry – no way. Cython can definitely make very good use of those internals, shortcuts, and what not. If you want them removed, then please replace them with something equivalent that doesn't reduce the performance.