]> granicus.if.org Git - python/commit
[Backport to 2-5maint of r52147 | andrew.kuchling ; the buildbots seem OK
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 5 Oct 2006 17:26:33 +0000 (17:26 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 5 Oct 2006 17:26:33 +0000 (17:26 +0000)
commitd79524a4cc15d659b2d9efa0dfe25190022667c9
treed4140d033524a9417cabe7fb3eebe4d2fef468d4
parent4b63c21d6faebc406260733c16b826e3e01b0d89
[Backport to 2-5maint of r52147 | andrew.kuchling ; the buildbots seem OK
 with this change.]

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.
Misc/NEWS
Modules/_sre.c