mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-102778: revert changes to idlelib (#102825)
This commit is contained in:
parent
ccb5af7bfe
commit
4d1f033986
4 changed files with 9 additions and 24 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue