• Amaury Forgeot d'Arc's avatar
    Merged revisions 73918-73919 via svnmerge from · d31d4f2c
    Amaury Forgeot d'Arc yazdı
    svn+ssh://pythondev@svn.python.org/python/branches/py3k
    
    ........
      r73918 | amaury.forgeotdarc | 2009-07-10 01:00:40 +0200 (ven., 10 juil. 2009) | 9 lines
    
      #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)".
    ........
      r73919 | amaury.forgeotdarc | 2009-07-10 01:07:52 +0200 (ven., 10 juil. 2009) | 2 lines
    
      NEWS entry for r73918.
    ........
    d31d4f2c
pdb.py 44.7 KB