This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients brett.cannon, mseaborn, terry.reedy
Date 2008-11-07.21:47:56
SpamBayes Score 2.3059936e-05
Marked as misclassified No
Message-id <1226094477.75.0.746379071574.issue4262@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-11-07 21:47:57terry.reedysetrecipients: + terry.reedy, brett.cannon, mseaborn
2008-11-07 21:47:57terry.reedysetmessageid: <1226094477.75.0.746379071574.issue4262@psf.upfronthosting.co.za>
2008-11-07 21:47:56terry.reedylinkissue4262 messages
2008-11-07 21:47:56terry.reedycreate