[issue21233] Add *Calloc functions to CPython memory allocation API
Antoine Pitrou
report at bugs.python.org
Wed Apr 16 07:34:58 CEST 2014
Antoine Pitrou added the comment:
Le 16/04/2014 04:40, STINNER Victor a écrit :
>
> STINNER Victor added the comment:
>
>> So what is the point of _PyObject_GC_Calloc ?
>
> It calls calloc(size) instead of malloc(size)
No, the question is why you didn't simply change _PyObject_GC_Malloc
(which is a private function).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21233>
_______________________________________
More information about the Python-bugs-list
mailing list