GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-106670: Set convenience variable for post mortem debugging by gaogaotiantian · Pull Request #110493 · python/cpython

Conversation

@gaogaotiantian

@gaogaotiantian gaogaotiantian commented Oct 7, 2023 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

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.

  • Issue: Support to jump between chained exception in Pdb #106670

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@gaogaotiantian
Set convenience variable for post mortem debugging
4ebf23e
@bedevere-app bedevere-app Bot added the awaiting review label Oct 7, 2023
@bedevere-app bedevere-app Bot mentioned this pull request Oct 7, 2023
Support to jump between chained exception in Pdb #106670
Closed
@blurb-it
📜🤖 Added by blurb_it.
16f1c18
@gaogaotiantian
gaogaotiantian requested a review from iritkatriel October 7, 2023 00:19
@gaogaotiantian

gaogaotiantian commented Oct 7, 2023

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

iritkatriel
iritkatriel reviewed Oct 7, 2023
View reviewed changes
Comment thread Lib/pdb.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

iritkatriel
iritkatriel approved these changes Oct 7, 2023
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting core review and removed awaiting review labels Oct 7, 2023
@iritkatriel

iritkatriel commented Oct 7, 2023

Copy link
Copy Markdown
Member

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

iritkatriel
iritkatriel reviewed Oct 9, 2023
View reviewed changes
Comment thread Misc/NEWS.d/next/Library/2023-10-07-00-18-40.gh-issue-106670.kCGyRc.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@iritkatriel
tweak news
0c9d9d2
@iritkatriel
iritkatriel enabled auto-merge (squash) October 9, 2023 07:48
@iritkatriel
iritkatriel merged commit 9f8282d into python:main Oct 9, 2023
@bedevere-app bedevere-app Bot removed the awaiting core review label Oct 9, 2023
@gaogaotiantian
gaogaotiantian deleted the pdb-exception-variable branch October 9, 2023 17:51
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
@gaogaotiantian @Glyphack
pythongh-106670: Set convenience variable for post mortem debugging (p…
2aa361e
…ython#110493)
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

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@gaogaotiantian @iritkatriel
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.