Jim Jewett <jimjjew...@gmail.com> added the comment: Ignoring non-ascii whitespace is defensible, and I agree that it should match the rest of the parser. Ignoring 2nd lines is still a problem, and supposedly part of what got fixed. Test case:
s="""x=5 # comment x=6 """ compile(s, "<testbadsingle>", 'single') ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13832> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com