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

Stefan Krah report at bugs.python.org
Tue Apr 29 00:48:12 CEST 2014


Stefan Krah added the comment:

The order of the nelem/elsize matters for readability. Otherwise it is
not intuitive what happens after the jump to redirect in _PyObject_Alloc().

Why would you assert that 'nelem' is one?

----------

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


More information about the Python-bugs-list mailing list