summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pyrepl/test_pyrepl.py
diff options
context:
space:
mode:
authorCF Bolz-Tereick <cfbolz@gmx.de>2024-08-22 23:58:05 (GMT)
committerGitHub <noreply@github.com>2024-08-22 23:58:05 (GMT)
commit30eee22d3f5b637d2a9536c2d7bf448f6ac14118 (patch)
tree8fad67da57c5fd989f878d4ee0a42a6e52c969ec /Lib/test/test_pyrepl/test_pyrepl.py
parent5271f8feadc198407449514348c34e3fe77de448 (diff)
downloadcpython-30eee22d3f5b637d2a9536c2d7bf448f6ac14118.zip
cpython-30eee22d3f5b637d2a9536c2d7bf448f6ac14118.tar.gz
cpython-30eee22d3f5b637d2a9536c2d7bf448f6ac14118.tar.bz2
[3.13] gh-122478: Remove internal frames from tracebacks in REPL (GH-122528) (#123227)
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. (cherry picked from commit e73e7a7abdc3fed252affcb1629df1b3c8fff2ef) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/test/test_pyrepl/test_pyrepl.py')
0 files changed, 0 insertions, 0 deletions