[issue33766] Grammar Incongruence

June 8, 2018
6:39 p.m.
Terry J. Reedy <tjreedy@udel.edu> added the comment: 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")') hello
The Reference Manual should be clear that EOF and EOS (end-of-string) is treated as NEWLINE. ---------- nosy: +terry.reedy _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33766> _______________________________________
2450
Age (days ago)
2450
Last active (days ago)
0 comments
1 participants
participants (1)
-
Terry J. Reedy