24 Nov 2017 24 Nov '17
Serhiy Storchaka email@example.com added the comment:
I'm quite sure that calling PyMem_SetAllocator() or PyObject_SetArenaAllocator() after Py_Initialize() will quickly crash.
Then document this explicitly like for other functions that *should* be called before Py_Initialize() if called at all.
_______________________________________ Python tracker firstname.lastname@example.org https://bugs.python.org/issue32124 _______________________________________