Author martin.panter
Recipients jamadagni, martin.panter, r.david.murray, rob.lourens, terry.reedy
Date 2014-12-21.22:17:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Not sure what the original method to cause this message is. I’m guessing some code was trying to call a function that was set to None by the shutdown process, causing the exception message, and that repr() was also failing, causing the broken wording. Like this:

$ python2 << PYTHON
> class C:
>     def __repr__(self): return None()
>     def __del__(self): None()
> x = C()
Exception TypeError: "'NoneType' object is not callable" in  ignored

If this is the case, then it is the same problem as Issue 22836, where I have posted a test and a fix for Python 3.
Date User Action Args
2014-12-21 22:17:12martin.pantersetrecipients: + martin.panter, terry.reedy, r.david.murray, rob.lourens, jamadagni
2014-12-21 22:17:12martin.pantersetmessageid: <>
2014-12-21 22:17:12martin.panterlinkissue6294 messages
2014-12-21 22:17:12martin.pantercreate