This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka, terry.reedy
Date 2013-09-14.23:46:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Sometimes closing IDLE I got such exception:

Exception ignored in: <bound method Popen.__del__ of <subprocess.Popen object at 0xb5b8618c>>
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/", line 890, in __del__
TypeError: 'NoneType' object is not callable

It is happened because the builtins module was destroyed before running __del__ in process of garbage collecting.

Here is a patch which should fix the bug. Anothe possible solution is get rid from getattr and catch AttributeError instead.

See also issue16650.
Date User Action Args
2013-09-14 23:46:46serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy
2013-09-14 23:46:46serhiy.storchakasetmessageid: <>
2013-09-14 23:46:46serhiy.storchakalinkissue19021 messages
2013-09-14 23:46:46serhiy.storchakacreate