24 Nov 2017 24 Nov '17
Serhiy Storchaka firstname.lastname@example.org added the comment:
Are you sure about PyMem_Malloc() and PyObject_Malloc()? What functions require them? I thought only PyMem_RawMalloc() can be called before Py_Initialize().
I think that for all functions that *can* or *should* be called before Py_Initialize() this should be explicitly documented in the documentation of this function, like for Py_SetProgramName() and PyImport_AppendInittab().
---------- nosy: +serhiy.storchaka
_______________________________________ Python tracker email@example.com https://bugs.python.org/issue32124 _______________________________________