[issue11965] Simplify context manager in os.popen

Chris Rose report at bugs.python.org
Thu May 5 15:58:07 CEST 2011


Chris Rose <offby1 at offby1.net> added the comment:

I'm pretty sure that the os._wrap_close wrapper is not the same thing as the Popen context manager. I don't think it's useful to try refactor this. As Antoine points out, the current wrapper serves a very different purpose.

----------
nosy: +offby1

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


More information about the Python-bugs-list mailing list