commit | d79524a4cc15d659b2d9efa0dfe25190022667c9 | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Thu Oct 05 17:26:33 2006 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Thu Oct 05 17:26:33 2006 +0000 |
tree | d4140d033524a9417cabe7fb3eebe4d2fef468d4 | |
parent | 4b63c21d6faebc406260733c16b826e3e01b0d89 [diff] |
[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.