[issue23446] Use PyMem_New instead of PyMem_Malloc

Stefan Krah report at bugs.python.org
Wed Feb 11 22:25:20 CET 2015


Stefan Krah added the comment:

In _testbuffer.c:  ndim <= 64, so the changes aren't really necessary.
Somehow this fact needs to get widely known, since it does not make
sense to check for overflow anytime ndim is used.

The reason is of course that even an array with only 2 elements per
dimension gets quite large with ndim=64. :)

----------
nosy: +skrah

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


More information about the Python-bugs-list mailing list