Skip to content

bpo-36388: fix Pdb.do_debug to not trace itself#23202

Closed
blueyed wants to merge 1 commit intopython:mainfrom
blueyed:bpo36388-fix-pdb-do_debug
Closed

bpo-36388: fix Pdb.do_debug to not trace itself#23202
blueyed wants to merge 1 commit intopython:mainfrom
blueyed:bpo36388-fix-pdb-do_debug

Conversation

@blueyed
Copy link
Copy Markdown
Contributor

@blueyed blueyed commented Nov 9, 2020

blueyed added a commit to blueyed/pdbpp that referenced this pull request Nov 9, 2020
This adopts `Pdb.do_debug`, given there are fixes in there already, and
it is not trivial to "patch out" the wrong `sys.settrace` in there
easily.

Ref: https://bugs.python.org/issue36388
Ref: python/cpython#23202
blueyed added a commit to blueyed/pdbpp that referenced this pull request Nov 9, 2020
This adopts `Pdb.do_debug`, given there are fixes in there already, and
it is not trivial to "patch out" the wrong `sys.settrace` in there
easily.

Ref: https://bugs.python.org/issue36388
Ref: python/cpython#23202
blueyed added a commit to blueyed/pdbpp that referenced this pull request Nov 13, 2020
This adopts `Pdb.do_debug`, given there are fixes in there already, and
it is not trivial to "patch out" the wrong `sys.settrace` in there
easily.

Ref: https://bugs.python.org/issue36388
Ref: python/cpython#23202
blueyed added a commit to pdbpp/pdbpp that referenced this pull request Nov 14, 2020
This adopts `Pdb.do_debug`, given there are fixes in there already, and
it is not trivial to "patch out" the wrong `sys.settrace` in there
easily.

Ref: https://bugs.python.org/issue36388
Ref: python/cpython#23202
@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Dec 16, 2020
@blueyed
Copy link
Copy Markdown
Contributor Author

blueyed commented Dec 16, 2020

This is still legit, but only missing review and a test.
It's used in pdp++, where it has a test that could be adopted: pdbpp/pdbpp@dd633bb#diff-b95fdb555737b59555993f2928802c507ba6b466dd9de0f8bafa256c1cce52d2R5992-R6013

Copy link
Copy Markdown
Contributor

@asvetlov asvetlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch looks good.
NEWS entry and tests are needed.

@bedevere-bot
Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label Dec 17, 2020
@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Jan 16, 2021
@AlexWaygood
Copy link
Copy Markdown
Member

AlexWaygood commented Apr 19, 2022

Ping, @blueyed -- is this still something you're interested in working on? :)

@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label Jul 31, 2022
@kumaraditya303
Copy link
Copy Markdown
Contributor

Closing as it is stale, if you want to work on this, the PR can be re-opened or a new PR can be created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants