[issue12085] subprocess.Popen.__del__ raises AttributeError if __init__ was called with an invalid argument list
Terry J. Reedy
report at bugs.python.org
Sun Sep 22 01:11:15 CEST 2013
Terry J. Reedy added the comment:
Reading Antoine's message more carefully, and the cited doc line, the generic fix to prevent the warning would be
try:
<__del__ body>
except Exception:
pass
The question is, do we only want to block the warning when someone calls Popen with the wrong number of arguments, or always?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12085>
_______________________________________
More information about the Python-bugs-list
mailing list