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

2014-05-11 Thread akira
akira added the comment: Until the current patch for issue #21332 is committed; bufsize=1 is equivalent to bufsize=-1 in both binary and text mode. You are correct the patch in #21332 fixes only the text mode (universal_newlines=True) -- it also updates the documentation to mention that bufsiz

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

2014-05-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, the "not working at all" part is issue #21332. Let's make this issue specific to binary mode, again. -- nosy: +akira title: subprocess line-buffering doesn't work -> subprocess line-buffering only works in universal newlines mode _

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

2014-05-11 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2014-05-11 Thread Antoine Pitrou
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 subpro