summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-10-05 17:26:33 +0000
committerAndrew M. Kuchling <amk@amk.ca>2006-10-05 17:26:33 +0000
commitd79524a4cc15d659b2d9efa0dfe25190022667c9 (patch)
treed4140d033524a9417cabe7fb3eebe4d2fef468d4 /Python/compile.c
parent4b63c21d6faebc406260733c16b826e3e01b0d89 (diff)
downloadcpython-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