commit | 36126c424a9b7c2c46596c096d0c944ce190d86d | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Wed Oct 04 13:42:43 2006 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Wed Oct 04 13:42:43 2006 +0000 |
tree | ce96388148499cec4b67a63568236a9234564c55 | |
parent | 7ccbca93a27e22f0b06316b0d9760fbf7b19cbda [diff] |
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.