[issue10792] Compile() and 'Windows/Mac newlines'

2010-12-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I made a mistake in testing. Sorry for the noise. -- resolution: -> invalid status: open -> closed ___ Python tracker ___

[issue10792] Compile() and 'Windows/Mac newlines'

2010-12-29 Thread Terry J. Reedy
New submission from Terry J. Reedy : In python-list thread "Does Python 3.1 accept \r\n in compile()?" jmfauth notes that compile('print(999)\r\n', '', 'exec') works in 2.7 but not 3.1 (and 3.2 not checked) because 3.1 sees '\r' as SyntaxError. I started to respond that this is part of Py3 clean