]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[Backport r52147 | andrew.kuchling]
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 5 Oct 2006 17:30:48 +0000 (17:30 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 5 Oct 2006 17:30:48 +0000 (17:30 +0000)
commitaf4defb79ddec0c5db161f9b084097b843918737
treeb7d55222f5444aa6422b2f920ccaf59570b2b8bc
parenta1ade3e925836a89e1ebacb74eb8e81d85190cd8
[Backport r52147 | andrew.kuchling]

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