[issue5099] subprocess.Popen.__del__ causes AttributeError (os module == None)
Brett Cannon
report at bugs.python.org
Mon Apr 26 22:31:10 CEST 2010
Brett Cannon <brett at python.org> added the comment:
I was just following the style already set in __del__ for storing a reference to sys (that and I didn't feel like having to explicitly store all of those references in the __init__ or at the class level just above the methods).
As for using atexit, it's possible that could be the proper solution, it just requires someone coding it up before we hit 2.7rc1.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5099>
_______________________________________
More information about the Python-bugs-list
mailing list