[issue12494] subprocess: check_output() doesn't close pipes on error

STINNER Victor report at bugs.python.org
Thu Sep 1 10:21:18 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> The second patch looks good. Tests?

Ok, I will try to write a new patch with tests.

> But, it *probably* shouldn't be applied to 2.7&  3.2 given that it is a behaviour change.

I consider that this issue is a bug, so it should be fixed in 2.7 and 
3.2. I agree that *killing* the process is a behaviour change, but we 
can just close pipes on error for 2.7 and 3.2.

----------

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


More information about the Python-bugs-list mailing list