[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)

Brett Cannon report at bugs.python.org
Sat Apr 17 23:39:59 CEST 2010


Brett Cannon <brett at python.org> added the comment:

Attached is a patch I wrote entirely independently of this issue (Mercurial's test suite trigger it for me). I go further in terms of caching items than the original patch as I still got failures even when I stored just a reference to os (might be an OS X thing with the os module).

I just need someone to verify my patch works under Windows. If someone can do that I will commit it and Gabriel's test (with Antoine's suggested fixes).

----------
nosy: +brett.cannon

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5099>
_______________________________________


More information about the Python-bugs-list mailing list