[Python-Dev] py_compile and CR in source files

Skip Montanaro skip@mojam.com (Skip Montanaro)
Fri, 26 May 2000 11:30:08 -0500 (CDT)


    Greg> Well, assuming that it is NOT okay with \r\n in there, then read
    Greg> the whole blob in and use string.replace() on it.

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.

-- 
Skip Montanaro, skip@mojam.com, http://www.mojam.com/, http://www.musi-cal.com/
"We have become ... the stewards of life's continuity on earth.  We did not
ask for this role...  We may not be suited to it, but here we are."
- Stephen Jay Gould