8000 gh-135751: traceback: add recent_first and show_lines parameter by methane · Pull Request #135752 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-135751: traceback: add recent_first and show_lines parameter #135752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
add whatsnew entry
  • Loading branch information
methane committed Jun 20, 2025
commit b7454fb8f7ab72b39028d8923fcc66baa7051ee4
9 changes: 9 additions & 0 deletions Doc/whatsnew/3.15.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,15 @@ tarfile
and :cve:`2025-4435`.)


traceback
----------

* The keyword only argument ``show_lines=True`` is added to all functions and
methods formatting or printing traceback. You can suppress the display of
source code lines in the traceback by passing ``show_lines=False``.
(Contributed by Inada Naoki in TBD).


zlib
----

Expand Down
0