[issue6323] Py3.1 pdb doesn't deal well with syntax errors

Amaury Forgeot d'Arc report at bugs.python.org
Tue Jun 23 00:30:23 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Good point.
So in the end, we just replaced
    exec('%s')        # wrong when the text is "x='a'"
with
    exec(%r)

----------

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


More information about the Python-bugs-list mailing list