Georg Brandl <ge...@python.org> added the comment:

code.runsource() uses the "single" start symbol by default, which will parse 
only a single statement.  Only your second snippet is a single statement, while 
the others are two statements.

----------
nosy: +georg.brandl
resolution:  -> invalid
status: open -> closed

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

Reply via email to