gh-106670: Set convenience variable for post mortem debugging by gaogaotiantian · Pull Request #110493 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Merged
Conversation
Member
This is a minor improvement to the newly supported chained exception feature.
We have convenience variable $_exception which stores the exception object when an exception is being raised. We can reuse that when we are in post mortem mode analyzing exceptions.
bedevere-app
Bot
added
the
awaiting review
label
bedevere-app
Bot
mentioned this pull request
gaogaotiantian
requested a review
from iritkatriel
gaogaotiantian
commented
Oct 7, 2023
gaogaotiantian commented
Member Author
@iritkatriel , you were the reviewer for the original PR and the PR for convenience variable. Could you take a look at this? This is pretty straightforward.
iritkatriel
reviewed
iritkatriel
approved these changes
bedevere-app
Bot
added
awaiting core review
and removed
awaiting review
labels
iritkatriel
commented
Oct 7, 2023
iritkatriel commented
Member
Ok, I'll merge when I'm not travelling. Remind me if I forget.
iritkatriel
reviewed
Misc/NEWS.d/next/Library/2023-10-07-00-18-40.gh-issue-106670.kCGyRc.rst Outdated
iritkatriel
enabled auto-merge (squash)
iritkatriel
merged commit
9f8282d
into
python:main
bedevere-app
Bot
removed
the
awaiting core review
label
gaogaotiantian
deleted the
pdb-exception-variable
branch
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment