[issue21233] Add *Calloc functions to CPython memory allocation API
Stefan Krah
report at bugs.python.org
Sun Apr 27 13:26:55 CEST 2014
Stefan Krah added the comment:
Actually, I think we have to match the C-API: For instance, in
Modules/_decimal/_decimal.c:5527 the libmpdec allocators are
set to the Python allocators.
So I'd need to do:
mpd_callocfunc = PyMem_Calloc;
I suppose that's a common use case.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21233>
_______________________________________
More information about the Python-bugs-list
mailing list