[Python-Dev] Minor issue with PyErr_NormalizeException

Eric Huss ehuss@netmeridian.com
Tue, 1 Apr 2003 13:41:54 -0800 (PST)

We had a bug in one of our extension modules that caused a core dump in
PyErr_NormalizeException().  At the very top of the function (line 133) it
checks for a NULL type.  I think it should have a "return" here so that
the code does not continue and thus dump core on line 153 when it calls
PyClass_Check(type).  This should also make the comment not lie about
dumping core. ;)

Just thought I'd pass it on..