Neil Conway <neilc@samurai.com> writes:
> Does this work for "\r\n" embedded in string literals?
I believe we'd concluded that Python will unconditionally convert all
\r\n to \n when reading any text file --- including script files ---
and therefore that's what Python programmers will expect to have happen
to scripts. In other words we should deliberately be non-syntax-aware
when stripping \r.
regards, tom lane