Skip to content

gh-106670: Set convenience variable for post mortem debugging #110493

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

Merged
merged 3 commits into from
Oct 9, 2023

Conversation

gaogaotiantian
Copy link
Member

@gaogaotiantian gaogaotiantian commented Oct 7, 2023

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.

@gaogaotiantian
Copy link
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
Copy link
Member

Ok, I'll merge when I'm not travelling. Remind me if I forget.

@iritkatriel iritkatriel enabled auto-merge (squash) October 9, 2023 07:48
@iritkatriel iritkatriel merged commit 9f8282d into python:main Oct 9, 2023
@gaogaotiantian gaogaotiantian deleted the pdb-exception-variable branch October 9, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants