[Distutils] Re: [Python-Dev] py_compile and CR in source files

Fred L. Drake fdrake@acm.org
Fri, 26 May 2000 10:18:00 -0700 (PDT)

On Fri, 26 May 2000, Skip Montanaro wrote:
 > I thought of that too, but quickly dismissed it.  You may have a CRLF pair
 > embedded in a triple-quoted string.  Those should be left untouched.

  No, it would be OK to do  the replacement; source files are supposed to
be treated as text, meaning that lineends should be represented as \n.
We're not talking about changing the values of the strings, which will
still be treated as \n and that's what will be incorporated in the value
of the string.  This has no impact on the explicit inclusion of \r or \r\n
in strings.


Fred L. Drake, Jr.  <fdrake at acm.org>