[issue41222] POpen bufsize=0 ignored with universal_newlines=True

Yann Dirson report at bugs.python.org
Mon May 3 16:39:03 EDT 2021


Yann Dirson <yann at blade-group.com> added the comment:

> The fact that my stdout object has no read1() and needs the above patch looks like a good lead for further investigation?

That's linked to universal_newlines, the bug only shows when that flag is set.

Testcases provided in https://github.com/python/cpython/pull/25859

----------
title: Undocumented behaviour change of POpen.stdout.readine with bufsize=0 or =1 -> POpen bufsize=0 ignored with universal_newlines=True

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41222>
_______________________________________


More information about the Python-bugs-list mailing list