On 12/29/2010 2:31 PM, Terry Reedy wrote:
"Changed in version 3.2: Allowed use of Windows and Mac newlines. Also
input in 'exec' mode does not have to end in a newline anymore. Added
the optimize parameter."

Retest shows that above is correct.

>>> compile("print(999)\r\n", "blah", "exec")

<code object <module> at 0x00F5EC50, file "blah", line 1>

For most development purposes (not just yours), 3.2b2 is already better than 3.1.

Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to