> Cool. I suggest posting in the tracker thread the exact Python
> version(s) you've tested this with, in case it matters.
Done. Good point.
--
https://mail.python.org/mailman/listinfo/python-list
I just opened a bug report:
http://bugs.python.org/issue24126
We'll see what they say.
--
https://mail.python.org/mailman/listinfo/python-list
>> I believe this is a bug.
>
> I'm not sure it is, actually; imagine the text is coming in one
> character at a time (eg from a pipe), and it's seen "alpha\r". It
> knows that this is a line, so it emits it; but until the next
> character is read, it can't know whether it's going to be \r or \r\n.