-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Document pdb.post_mortem()
accepts exceptions on Python 3.13+
#128409
Labels
docs
Documentation in the Doc dir
Comments
pytest is already taking advantage of this “secret feature“: pytest-dev/pytest#12707 |
adamchainz
added a commit
to adamchainz/cpython
that referenced
this issue
Jan 3, 2025
co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
adamchainz
added a commit
to adamchainz/cpython
that referenced
this issue
Jan 3, 2025
co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
gaogaotiantian
pushed a commit
that referenced
this issue
Jan 10, 2025
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
gaogaotiantian
pushed a commit
to gaogaotiantian/cpython
that referenced
this issue
Jan 13, 2025
…tions (pythonGH-128410) (cherry picked from commit 1b39b50) Co-authored-by: Adam Johnson <me@adamj.eu> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Documentation
Some change in Python 3.13 (maybe 5f3433f or related) allows
pdb.post_mortem()
to accept an exception object, as well as a traceback object. This could be useful to use for chained exception access, for example in Django’s test runner where a traceback is currently passed, but the exception with chained causes is available.Tested with:
and ran with:
Linked PRs
The text was updated successfully, but these errors were encountered: