STINNER Victor <[email protected]> added the comment:
I fixed this issue in Python 3.7. Py_SetStandardStreamEncoding() now uses:
PyMemAllocatorEx old_alloc;
_PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc);
... _PyMem_RawStrdup() ...
PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc);
----------
components: +Interpreter Core
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
versions: -Python 3.6
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue29818>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com