[issue5099] subprocess.Popen.__del__ causes AttributeError (os module == None)
STINNER Victor
report at bugs.python.org
Mon Apr 26 22:22:22 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
I'm -1 on Brett's patch: keep a reference to the required functions in the function arguments is ugly to me. The process should be destroyed before unloading the modules. I don't know how (or even if it's possible or not :-)), but I think that Brett's patch is the wrong solution to the problem.
Eg. Can't we use atexit.register() to destroy the processes at exit?
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5099>
_______________________________________
More information about the Python-bugs-list
mailing list