Serhiy Storchaka <storchaka+cpyt...@gmail.com> 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 <rep...@bugs.python.org>
<https://bugs.python.org/issue32124>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to