[docs] [issue17814] Popen.stdin/stdout/stderr documentation should mention object type

Martin Panter report at bugs.python.org
Sat Jan 11 12:14:14 CET 2014


Martin Panter added the comment:

The patch specifies the stream types are either BufferedReader/Writer, TextIOWrapper, or None. However they can also be plain FileIO in my experience (Python 3.3 with bufsize=0).

Maybe it would be simpler to defer to the documentation for open(), which already mentions the three possible layers of file wrapping. Although, looking at the code just now, the TextIOWrapper is added separately by the “subprocess” module, and uses write_through=True.

----------
nosy: +vadmium

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


More information about the docs mailing list