diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-07-09 23:00:40 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-07-09 23:00:40 (GMT) |
commit | a63505437ac34aac17faadf0d49e322fe89c954a (patch) | |
tree | d0d403f148f70973b9eaf7e62952dbdb4847d17e /Python/dynload_aix.c | |
parent | ace3102131b29081119050dff4e229a58a487976 (diff) | |
download | cpython-a63505437ac34aac17faadf0d49e322fe89c954a.zip cpython-a63505437ac34aac17faadf0d49e322fe89c954a.tar.gz cpython-a63505437ac34aac17faadf0d49e322fe89c954a.tar.bz2 |
#6323: pdb doesn't deal well with SyntaxErrors.
It seems necessary to keep two layers of 'exec' (one in Bdb.run, one in Pdb._runscript);
this allows the tracing function to be active when the inner 'exec' runs
and tries to compile the real code.
This partially revert r58127, the net effet of the two changes is to replace
"exec('%s')" with "exec(%r)".
Diffstat (limited to 'Python/dynload_aix.c')
0 files changed, 0 insertions, 0 deletions