diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-07-31 22:35:15 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-07-31 22:35:15 -0400 |
commit | 99b80b507246af3c293a0aa8eeaac4788b703200 (patch) | |
tree | 597fe89977c64d12e1b188a47da93af0ef675041 /Lib/idlelib/ScriptBinding.py | |
parent | d27d938675ec9eaf7c7e4d6ea1c65767611b5425 (diff) | |
parent | 26f667676f6ea44c8d3e5a41f345acfaeca30bc2 (diff) | |
download | cpython-git-99b80b507246af3c293a0aa8eeaac4788b703200.tar.gz |
Merge with 3.5
Diffstat (limited to 'Lib/idlelib/ScriptBinding.py')
-rw-r--r-- | Lib/idlelib/ScriptBinding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py index e71ddf49d3..d700525a73 100644 --- a/Lib/idlelib/ScriptBinding.py +++ b/Lib/idlelib/ScriptBinding.py @@ -142,7 +142,7 @@ class ScriptBinding: return 'break' interp = self.shell.interp if PyShell.use_subprocess: - interp.restart_subprocess(with_cwd=False) + interp.restart_subprocess(with_cwd=False, filename=code.co_filename) dirname = os.path.dirname(filename) # XXX Too often this discards arguments the user just set... interp.runcommand("""if 1: |