]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-82378 fix sys.tracebacklimit in pyrepl, approach 2 (GH-123062) (#123252)
authorCF Bolz-Tereick <cfbolz@gmx.de>
Fri, 23 Aug 2024 11:59:08 +0000 (13:59 +0200)
committerGitHub <noreply@github.com>
Fri, 23 Aug 2024 11:59:08 +0000 (12:59 +0100)
commit0955db1bd80edf8e20788b95dcfe8580aa0ade19
tree485812e0a0656f1b9d7998e46f052761c0e75147
parent95b4f9c9ad3d7a13442a6874bbcf3683d17723dc
[3.13] gh-82378 fix sys.tracebacklimit in pyrepl, approach 2 (GH-123062) (#123252)

Make sure that pyrepl uses the same logic for sys.tracebacklimit as both
the basic repl and the standard sys.excepthook
(cherry picked from commit 63603bca35798c166e1b8e0be76aef69217f8b1b)
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]