This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients docs@python, eric.snow, ncoghlan, serhiy.storchaka, vstinner
Date 2017-11-24.14:09:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511532552.38.0.213398074469.issue32124@psf.upfronthosting.co.za>
In-reply-to
Content
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().
History
Date User Action Args
2017-11-24 14:09:12serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, vstinner, docs@python, eric.snow
2017-11-24 14:09:12serhiy.storchakasetmessageid: <1511532552.38.0.213398074469.issue32124@psf.upfronthosting.co.za>
2017-11-24 14:09:12serhiy.storchakalinkissue32124 messages
2017-11-24 14:09:12serhiy.storchakacreate