[issue6480] code.runsource() parsing bug

Georg Brandl report at bugs.python.org
Thu Jul 29 19:03:53 CEST 2010


Georg Brandl <georg at 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 <report at bugs.python.org>
<http://bugs.python.org/issue6480>
_______________________________________


More information about the Python-bugs-list mailing list