Ryan added the comment:
This is not fixed. The documentation may be more correct now, but the behavior
still does not match Python 2 as purported.
The default bufsize changed in 3.3.1 is incorrect, at least when tested in
3.4.0 and 3.4.1.
Here is a test for systems with cat available.
import subprocess
proc = subprocess.Popen('cat', stdin=subprocess.PIPE)
proc.stdin.write('test\n'.encode('utf8'))
This test will succeed in Python 2.x and Python 3.0 - 3.3.0, but fail on 3.4.x.
This is a regression as the documentation states "did not match the behavior of
Python 2 as most code expected", while the current behavior definitely does not
match Python 2.
----------
nosy: +lunixbochs
versions: -Python 3.2
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue19622>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com