• Anthony Baxter's avatar
    backport tim_one's patch: · 07fb92a8
    Anthony Baxter yazdı
    (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
    07fb92a8
gcmodule.c 22.3 KB