[Pyrex] Erro handling bug in Pyrex 0.9.6.3

Stefan Behnel stefan_ml at behnel.de
Sat Oct 27 14:37:18 CEST 2007


Hi,

line 163 in ModuleNodes.py reads

    h_code.putln("Py_DECREF(module);")

but should read

    h_code.putln("Py_DECREF(module); module = 0;")

to prevent double DECREFs at the following XDECREF in the case of a type
import failure.

Stefan



More information about the Pyrex mailing list