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

Josh Rosenberg report at bugs.python.org
Thu Apr 17 12:35:42 CEST 2014


Josh Rosenberg added the comment:

Julian: No. See the diff: http://bugs.python.org/review/21233/diff/11644/Objects/typeobject.c

The original GC_Malloc was explicitly memset-ing after confirming that it received a non-NULL pointer from the underlying malloc call; that memset is removed in favor of using the calloc call.

----------

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


More information about the Python-bugs-list mailing list