[issue32096] Py_DecodeLocale() fails if used before the runtime is initialized.

STINNER Victor report at bugs.python.org
Tue Nov 21 10:48:54 EST 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

"3. use hard-coded defaults in PyMem_RawMalloc() and PyMem_RawFree() if the runtime has not been initialized yet"

I dislike this option since it can have a negative impact on performances. The PEP 445 already added a new level of indirection and so made memory allocations a little bit slower.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32096>
_______________________________________


More information about the Python-bugs-list mailing list