You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.13 moved some private C API functions to internal header files.
See python/cpython#106320 for a general discussion on this (glad to see
that gnureadline was at least listed as an affected PyPI package :-) ).
These private functions affect us:
- _Py_SetLocaleFromEnv -> pycore_pylifecycle.h
(see python/cpython#106400)
- _PyArg_CheckPositional, _PyArg_BadArgument -> pycore_modsupport.h
(see python/cpython#110964)
Since we can't include these anymore, patch the relevant declarations into
the module code. The alternative (add the internal headers to this package)
is much messier, as we would have to pull in most of those headers.
0 commit comments