diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2006-10-04 13:42:43 +0000 |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2006-10-04 13:42:43 +0000 |
commit | 36126c424a9b7c2c46596c096d0c944ce190d86d (patch) | |
tree | ce96388148499cec4b67a63568236a9234564c55 /Python/codecs.c | |
parent | 7ccbca93a27e22f0b06316b0d9760fbf7b19cbda (diff) | |
download | cpython-git-36126c424a9b7c2c46596c096d0c944ce190d86d.tar.gz |
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.
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions