[issue12623] "universal newlines" subprocess support broken with select- and poll-based communicate()

Chris Jerdonek report at bugs.python.org
Wed Aug 15 23:34:44 CEST 2012


Chris Jerdonek added the comment:

> Looking the code this test will fail on Windows. I cannot check it just now but looks like this is the problem.

Would it be possible to do something like the following to check this on a non-Windows machine (since the Python implementation of io respects the mutability of os.linesep but perhaps not the C version)?  It seems so.

>>> import _pyio, io, os
>>> io.TextIOWrapper = _pyio.TextIOWrapper
>>> os.linesep = "\r\n"
etc.

----------

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


More information about the Python-bugs-list mailing list