On Fri, Jan 15 2021, Antoine Pitrou wrote:

> Also note that PyObject_Malloc() may also be used to allocate
> non-objects, for example a bytearray's payload, IIRC.

Interesting. What's the rational for not using PyMem_Malloc() in such
cases?

-- 
Julien Danjou
# Free Software hacker
# https://julien.danjou.info
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/6GM4IOWIQWAQNBRAAPZBC5TRD2HZ7VTL/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to