Terry J. Reedy <[EMAIL PROTECTED]> added the comment: Both differences are covered in the 2.x docs:
"When compiling multi-line statements, two caveats apply: line endings must be represented by a single newline character ('\n'), and the input must be terminated by at least one newline character. The \r difference is not really a difference because \r is replaced by \n before import starts compiling. I suspect that EOF effectively gets converted to \n also. The doc issue is that 'must be terminated...' is not always true. This caveat is missing in 3.0, even though the limitation is the same. see #4118. I thought this was discussed in a c.l.p thread. ---------- nosy: +tjreedy resolution: -> invalid status: open -> pending _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4262> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com