[issue10481] subprocess PIPEs are byte streams

Sam Kimbrel report at bugs.python.org
Mon Apr 14 20:21:57 CEST 2014


Sam Kimbrel added the comment:

I've created a patch that updates the docs to reflect the behavior of communicate() and check_output(), which is that both the "input" argument and stdin/stdout/stderr PIPEs will convert to and from strings when self.univeral_newlines is True and must be bytes otherwise.

----------
keywords: +patch
nosy: +sam.kimbrel
Added file: http://bugs.python.org/file34834/10481-subprocess-docs.diff

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


More information about the Python-bugs-list mailing list