[issue6480] code.runsource() parsing bug

Sean report at bugs.python.org
Tue Jul 14 23:16:32 CEST 2009


Sean <smcallis at gmail.com> added the comment:

Seems to me it's probably an issue with the newlines, but from
help(code.compile_command):

    Compile a command and determine whether it is incomplete.
    
    Arguments:
    
    source -- the source string; <b>may contain \n characters</b>
    filename -- optional filename from which source was read; default
                "<input>"
    symbol -- optional grammar start symbol; "single" (default) or

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6480>
_______________________________________


More information about the Python-bugs-list mailing list