Cause a PyObject_Malloc() failure to trigger a MemoryError, and then
add 'if (PyErr_Occurred())' checks to various places so that NULL is returned properly. 2.4 backport candidate.
Showing
Please register or sign in to comment
add 'if (PyErr_Occurred())' checks to various places so that NULL is returned properly. 2.4 backport candidate.