diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2006-10-05 17:26:33 +0000 |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2006-10-05 17:26:33 +0000 |
commit | d79524a4cc15d659b2d9efa0dfe25190022667c9 (patch) | |
tree | d4140d033524a9417cabe7fb3eebe4d2fef468d4 /Python/compile.c | |
parent | 4b63c21d6faebc406260733c16b826e3e01b0d89 (diff) | |
download | cpython-git-d79524a4cc15d659b2d9efa0dfe25190022667c9.tar.gz |
[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.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions