Message197737
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/subprocess.py", 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:46 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy |
2013-09-14 23:46:46 | serhiy.storchaka | set | messageid: <1379202406.71.0.0429173757884.issue19021@psf.upfronthosting.co.za> |
2013-09-14 23:46:46 | serhiy.storchaka | link | issue19021 messages |
2013-09-14 23:46:46 | serhiy.storchaka | create | |
|