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 Isaac Elliott, ammar2, docs@python, gvanrossum, serhiy.storchaka, terry.reedy
Date 2018-06-08.18:39:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
A few years ago, there was a particular case in which compile failed without a trailing newline.  We fixed it so that it would work anyway.
Unless we are willing for a conforming Python interpreter to fail
>>> exec('print("hello")')

The Reference Manual should be clear that EOF and EOS (end-of-string) is treated as NEWLINE.
Date User Action Args
2018-06-08 18:39:34terry.reedysetrecipients: + terry.reedy, gvanrossum, docs@python, serhiy.storchaka, ammar2, Isaac Elliott
2018-06-08 18:39:33terry.reedysetmessageid: <>
2018-06-08 18:39:33terry.reedylinkissue33766 messages
2018-06-08 18:39:33terry.reedycreate