◐ Shell
clean mode source ↗

gh-106670: Set convenience variable for post mortem debugging by gaogaotiantian · Pull Request #110493 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@gaogaotiantian

@gaogaotiantian gaogaotiantian commented

Oct 7, 2023

edited by bedevere-app Bot

Loading

Copy link Copy Markdown

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.

@gaogaotiantian

Copy link Copy Markdown

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 Copy Markdown

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

Reviewers

@iritkatriel iritkatriel iritkatriel approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@gaogaotiantian @iritkatriel