-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
gh-128409: Document that pdb.post_mortem() accepts exceptions #128410
base: main
Are you sure you want to change the base?
Conversation
Doc/library/pdb.rst
Outdated
|
||
Enter post-mortem debugging of the given *traceback* object. If no | ||
*traceback* is given, it uses the one of the exception that is currently | ||
Enter post-mortem debugging of the given exception or traceback object. If |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it's a good idea to linkify things here (e.g. "traceback" goes to https://docs.python.org/3/reference/datamodel.html#traceback-objects).
Doc/library/pdb.rst
Outdated
Enter post-mortem debugging of the given *traceback* object. If no | ||
*traceback* is given, it uses the one of the exception that is currently | ||
Enter post-mortem debugging of the given exception or traceback object. If | ||
no value is given, it uses the one of the exception that is currently |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no value is given, it uses the one of the exception that is currently | |
no value is given, it uses the one of the exceptions that is currently |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, will reword slightly differently.
e72fd22
to
af34a8f
Compare
co-authored-by: Stan Ulbrych <[email protected]>
af34a8f
to
7fd14a8
Compare
Fixes #128409.
pdb.post_mortem()
accepts exceptions on Python 3.13+ #128409📚 Documentation preview 📚: https://cpython-previews--128410.org.readthedocs.build/