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

Antoine Pitrou report at bugs.python.org
Wed Apr 16 19:47:13 CEST 2014


Antoine Pitrou added the comment:

On mer., 2014-04-16 at 08:06 +0000, STINNER Victor wrote:
> I didn't check which objects use (indirectly) _PyObject_GC_Calloc().

I've checked: lists, tuples, dicts and sets at least seem to use it.
Obviously, objects which are not tracked by the GC (such as str and
bytes) won't use it.

----------

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


More information about the Python-bugs-list mailing list