diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-08-01 02:35:00 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-08-01 02:35:00 (GMT) |
commit | 26f667676f6ea44c8d3e5a41f345acfaeca30bc2 (patch) | |
tree | 2ec05d7162371f070838d5c05a8c42084e18b468 /Lib/idlelib/ScriptBinding.py | |
parent | a0a28b076a537c11b63a9fd79b05d27ea9cb5bde (diff) | |
parent | 231007fe142975ee5e468929af5ed69705e7547e (diff) | |
download | cpython-26f667676f6ea44c8d3e5a41f345acfaeca30bc2.zip cpython-26f667676f6ea44c8d3e5a41f345acfaeca30bc2.tar.gz cpython-26f667676f6ea44c8d3e5a41f345acfaeca30bc2.tar.bz2 |
Merge with 3.4
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 e71ddf4..d700525 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: |