Message306898
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(). |
|
| Date |
User |
Action |
Args |
| 2017-11-24 14:09:12 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ncoghlan, vstinner, docs@python, eric.snow |
| 2017-11-24 14:09:12 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2017-11-24 14:09:12 | serhiy.storchaka | link | issue32124 messages |
| 2017-11-24 14:09:12 | serhiy.storchaka | create | |
|