gh-122478: Remove internal frames from tracebacks in REPL (GH-122528)
Frames of methods in code and codeop modules was show with non-default sys.excepthook. Save correct tracebacks in sys.last_traceback and update __traceback__ attribute of sys.last_value and sys.last_exc.
S
Serhiy Storchaka committed
e73e7a7abdc3fed252affcb1629df1b3c8fff2ef
Parent: 42d9bec
Committed by GitHub <noreply@github.com>
on 8/7/2024, 8:20:57 PM