diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-03-19 16:19:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-19 12:19:59 -0400 |
commit | 4d1f033986675b883b9ff14588ae6ff78fdde313 (patch) | |
tree | c42dd8be1869a7347482ae210cbe7c76cdffa412 /Lib/idlelib/run.py | |
parent | ccb5af7bfee59b72313ccf1fa2c9b0dca347ac96 (diff) | |
download | cpython-4d1f033986675b883b9ff14588ae6ff78fdde313.tar.gz cpython-4d1f033986675b883b9ff14588ae6ff78fdde313.zip |
gh-102778: revert changes to idlelib (#102825)
Diffstat (limited to 'Lib/idlelib/run.py')
-rw-r--r-- | Lib/idlelib/run.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py index 6a7b50cf5cf..577c49eb67b 100644 --- a/Lib/idlelib/run.py +++ b/Lib/idlelib/run.py @@ -239,7 +239,6 @@ def print_exception(): efile = sys.stderr typ, val, tb = excinfo = sys.exc_info() sys.last_type, sys.last_value, sys.last_traceback = excinfo - sys.last_exc = val seen = set() def print_exc(typ, exc, tb): @@ -630,7 +629,6 @@ class Executive: flist = self.rpchandler.get_remote_proxy(flist_oid) while tb and tb.tb_frame.f_globals["__name__"] in ["rpc", "run"]: tb = tb.tb_next - sys.last_exc = val sys.last_type = typ sys.last_value = val item = stackviewer.StackTreeItem(flist, tb) |