[Python-Dev] Compile() and Windows/Mac newlines

Terry Reedy tjreedy at udel.edu
Wed Dec 29 21:09:07 CET 2010


On 12/29/2010 2:53 PM, Benjamin Peterson wrote:

> Type "help", "copyright", "credits" or "license" for more information.
>>>> compile("print(999)\r\n", "blah", "exec")
> <code object<module>  at 0xb353e8, file "blah", line 1>

I made a mistake in testing. Issue closed. Sorry for the noise.

-- 
Terry Jan Reedy



More information about the Python-Dev mailing list