June 11, 2012
2:16 a.m.
MRAB writes:
That's actually Python 3.1. From Python 3.2 it's slightly different, but still not quite right:
Python 3.1: "hello\r\nhello\r\r\n" Python 3.2: "hello\nhello\r\n" Python 3.3.0a4: "hello\nhello\r\n"
All on Windows.
<stifle o="self"/> Hm. Maybe it's that port's implementation of universal newlines or something like that? What happens if you use an explicit "end=" argument? (I don't have a Python 3 to check on Windows easily available.)