Aviv Palivoda added the comment:

I fixed the tests to work with Steven patch. Also changed the patch to open 
sys.std{in,out} with closefd=False.

I changed the 'io.StringIO' that we redirect the stdout, stderr to. Now the 
'StdIOBuffer' return the real stdout,stderr when '-' is passed to FileType. 
This was already done in the 'stderr_to_parser_error' function previously after 
the call to 'parse_args'.

----------
nosy: +palaviv
Added file: http://bugs.python.org/file42072/14156-2.patch

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

Reply via email to