Inyeol Lee <[EMAIL PROTECTED]> added the comment:

Missing trailing newline still triggers error as of 2.5.1:

>>> import parser
>>> parser.suite("pass\n ")
IndentationError: unexpected indent
>>> parser.suite("if True:\n pass\n ")
SyntaxError: invalid syntax

----------
nosy: +inyeollee

_____________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1184112>
_____________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to