[issue1283] PyBytes (buffer) .extend method needs to accept any iterable of ints
Gregory P. Smith
report at bugs.python.org
Mon Dec 3 03:53:44 CET 2007
Gregory P. Smith added the comment:
"There is still another possible leak if the PyMem_Realloc
return NULL (i.e., the system is out of memory), but I don't think it
worth fixing."
Do it. It looks easy: a Py_DECREF(it) before the return PyErr_NoMemory().
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1283>
__________________________________
More information about the Python-bugs-list
mailing list