Benjamin Peterson <benja...@python.org> added the comment: $ ./python Python 3.3.0a0 (default:50a4af2ca654+, Jan 20 2012, 10:59:48) [GCC 4.5.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> s="""x=5 # comment ... x=6 ... """ >>> compile(s, "<blah>", "single") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<blah>", line 1 x=5 # comment ^ SyntaxError: multiple statements found while compiling a single statement
---------- _______________________________________ 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