[issue27244] print(';;') fails in pdb with SyntaxError

2016-06-19 Thread Ned Deily
Ned Deily added the comment: As Wim notes, that behavior is documented. So, until someone wants to provide an enhancement patch, we should close this issue. Sorry! -- nosy: +ned.deily resolution: -> not a bug stage: -> resolved status: open -> closed

[issue27244] print(';;') fails in pdb with SyntaxError

2016-06-06 Thread wim glenn
wim glenn added the comment: Seems to be as documented here: https://docs.python.org/2/library/pdb.html#debugger-commands "No intelligence is applied to separating the commands; the input is split at the first ;; pair, even if it is in the middle of a quoted string." -- nosy:

[issue27244] print(';;') fails in pdb with SyntaxError

2016-06-06 Thread Chris Withers
New submission from Chris Withers: This doesn't seem right: (Pdb) ';;' *** SyntaxError: EOL while scanning string literal *** SyntaxError: EOL while scanning string literal (Pdb) p ';;' *** SyntaxError: EOL while scanning string literal *** SyntaxError: EOL while scanning string literal (Pdb)