]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-82378 fix sys.tracebacklimit in pyrepl, approach 2 (#123062)
authorCF Bolz-Tereick <cfbolz@gmx.de>
Sun, 18 Aug 2024 11:28:23 +0000 (13:28 +0200)
committerGitHub <noreply@github.com>
Sun, 18 Aug 2024 11:28:23 +0000 (13:28 +0200)
commit63603bca35798c166e1b8e0be76aef69217f8b1b
treef86478ea07f33a1d4fb583a5575c28fa0d6a74db
parent79c542b5cc774ba758acc2b2e3b6556934190e34
gh-82378 fix sys.tracebacklimit in pyrepl, approach 2 (#123062)

Make sure that pyrepl uses the same logic for sys.tracebacklimit as both
the basic repl and the standard sys.excepthook
Lib/_pyrepl/console.py
Lib/code.py
Lib/test/test_pyrepl/test_pyrepl.py
Misc/NEWS.d/next/Library/2024-07-31-14-55-41.gh-issue-82378.eZvYmR.rst [new file with mode: 0644]