[issue21233] Add *Calloc functions to CPython memory allocation API

Julian Taylor report at bugs.python.org
Thu Apr 17 10:04:36 CEST 2014


Julian Taylor added the comment:

won't replacing _PyObject_GC_Malloc with a calloc cause Var objects (PyObject_NewVar) to be completely zeroed which I think they didn't before?
Some numeric programs stuff a lot of data into var objects and could care about python suddenly setting them to zero when they don't need it.
An example would be tinyarray.

----------
nosy: +jtaylor

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21233>
_______________________________________


More information about the Python-bugs-list mailing list