commit | 5d032c0f95d4794edcf38253aa54a0e970e5249b | [log] [tgz] |
---|---|---|
author | Jason R. Coombs <jaraco@jaraco.com> | Thu Nov 17 18:03:24 2011 -0500 |
committer | Jason R. Coombs <jaraco@jaraco.com> | Thu Nov 17 18:03:24 2011 -0500 |
tree | 33da0912cd0af41ffbf1b3b0571809c7cf8453dc | |
parent | 9efddb654ba95d4f8b333d814334099a44d2ccd0 [diff] [blame] |
PDB now will properly escape backslashes in the names of modules it executes. Fixes #7750
diff --git a/Lib/pdb.py b/Lib/pdb.py index a6109d4..5468d3f 100755 --- a/Lib/pdb.py +++ b/Lib/pdb.py
@@ -1229,7 +1229,7 @@ self._wait_for_mainpyfile = 1 self.mainpyfile = self.canonic(filename) self._user_requested_quit = 0 - statement = 'execfile( "%s")' % filename + statement = 'execfile(%r)' % filename self.run(statement) # Simplified interface