New issue 2350: Windows PyPy2 sys.stderr emitting \r\r\n line separators
https://bitbucket.org/pypy/pypy/issues/2350/windows-pypy2-sysstderr-emitting-r-r-n
John Vandenberg:
If a process prints a line to stderr, pypy replaces the newline with `\r\r\n`.
This happens with any of these approaches:
```
from __future__ import print_function
print('foo', file=sys.stderr)
sys.stderr.write('foo\n')
sys.stderr.writelines(['foo\n'])
```
This doesnt occur for stdout, which emits a normal windows line ending of
`\r\n`.
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue