bpo-45434: Only exclude <stdlib.h> in Python 3.11 limited C API#29027
Conversation
The Python 3.11 limited C API no longer includes stdlib.h, stdio.h, string.h and errno.h. * Exclude Py_MEMCPY() from Python 3.11 limited C API. * xxlimited C extension is now built with Python 3.11 limited C API.
|
@Yhg1s @ronaldoussoren @encukou @tiran: Does it look a reasonable approach to you? Only change the Python 3.11 limited C API, but leave other APIs unchanged? |
Sorry, something went wrong.
|
I not sure if doing this is worth the effort, this makes the headers more complicated and only affects the few extensions that target the stable ABI and want to use API's introduced in 3.11. |
Sorry, something went wrong.
I think it's worth doing. In the long run it's going to make |
Sorry, something went wrong.
You only have to do this update work once. Once you added the missing |
Sorry, something went wrong.
The Python 3.11 limited C API no longer includes stdlib.h, stdio.h,
string.h and errno.h.
https://bugs.python.org/issue45434