◐ Shell
clean mode source ↗

bpo-32096: Fall back to defaults in PyMem_RawMalloc() and PyMem_RawFree(). by ericsnowcurrently · Pull Request #4495 · python/cpython

The recent global runtime state consolidation broke pre-init usage of Py_DecodeLocale(). This patch fixes that. It also adds a test for Py_DecodeLocale() under pre-init conditions (the tests fails if you remove the fix).

https://bugs.python.org/issue32096