]> granicus.if.org Git - python/commit
Cause a PyObject_Malloc() failure to trigger a MemoryError, and then
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 4 Oct 2006 13:42:43 +0000 (13:42 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 4 Oct 2006 13:42:43 +0000 (13:42 +0000)
commit36126c424a9b7c2c46596c096d0c944ce190d86d
treece96388148499cec4b67a63568236a9234564c55
parent7ccbca93a27e22f0b06316b0d9760fbf7b19cbda
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.
Modules/_sre.c