[issue21471] subprocess line-buffering only works in universal newlines mode

Antoine Pitrou report at bugs.python.org
Sun May 11 13:25:06 CEST 2014


New submission from Antoine Pitrou:

The docs for subprocess.Popen seem to imply that line-buffering is always available. However, bufsize=1 is a special value only when open the pipes in text mode, i.e. when "universal newlines" are enabled.

In the short term, we should probably fix the subprocess docs.
In the long term, perhaps we can add a line buffering capability to BufferedWriter?

----------
components: Library (Lib)
messages: 218257
nosy: benjamin.peterson, gregory.p.smith, hynek, pitrou, stutzbach
priority: normal
severity: normal
status: open
title: subprocess line-buffering only works in universal newlines mode
type: behavior
versions: Python 3.5

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


More information about the Python-bugs-list mailing list