Ammar Askar <am...@ammaraskar.com> added the comment:

Relevant bit of the parser that emits a fake newline at the end of the file if 
not present: 
https://github.com/python/cpython/blob/master/Parser/tokenizer.c#L1059-L1069

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33766>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to