Ronald Oussoren added the comment:

Mark: if you know Python you can answer that question yourself by reading the 
code of the subprocess and os modules.

>From a fairly short glance at the code I'd say that _wrap_close is not 
>obsolete. It is a wrapper about a file object for the stdout or stdin stream 
>of a Popen object (depending on the last argument of os.popen), and when 
>_wrap_close.close is called it closes the wrapped stream, then waits for the 
>subprocess to die and returns a *transformation* of the exitcode attribute.

If my interpretation of the _wrap_close is correct this issue can be closed as 
invalid (the code cannot be cleaned up without changing functionality)

----------
nosy: +ronaldoussoren
versions: +Python 3.4 -Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11965>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to