]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
backport tim_one's patch:
authorAnthony Baxter <anthonybaxter@gmail.com>
Tue, 30 Apr 2002 03:33:15 +0000 (03:33 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Tue, 30 Apr 2002 03:33:15 +0000 (03:33 +0000)
commit07fb92a86f4428a0d1d827b6b18101afe77cdd15
treeca3b6e7f1e23976f4e29f14d3f671d0160f3a433
parent608ee5a828d0b95167777802fa398edb5aff2dda
backport tim_one's patch:

(some tweaking for different _PyObject_GC_Malloc() call in 2.2. checked,
still returns the same thing on failure...)

_PyObject_GC_New:  Could call PyObject_INIT with a NULL 1st argument.
_PyObject_GC_NewVar:  Could call PyObject_INIT_VAR likewise.

Bugfix candidate.

Original patch(es):
python/dist/src/Modules/gcmodule.c:2.40
Modules/gcmodule.c