消息 [306898]
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(). |
|
| 日期 |
用户 |
动作 |
参数 |
| 2017-11-24 14:09:12 | serhiy.storchaka | 修改 | recipients:
+ serhiy.storchaka, ncoghlan, vstinner, docs@python, eric.snow |
| 2017-11-24 14:09:12 | serhiy.storchaka | 修改 | messageid: <1511532552.38.0.213398074469.issue32124@psf.upfronthosting.co.za> |
| 2017-11-24 14:09:12 | serhiy.storchaka | 链接 | issue32124 messages |
| 2017-11-24 14:09:12 | serhiy.storchaka | 创建 | |
|