-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-36277: Add document for pdb debug and retval commands #12872
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
Conversation
This comment has been minimized.
This comment has been minimized.
I'm not sure if a News entry is necessary. Please let me know if it's not. |
NEWS entries are for:
If you don't want credit, I think we don't need NEWS entry for this change. If you want credit, you should add "Patch by Dave Nguyen" at the end of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO the news is not necessary here. But we have to wait for a core dev opinion
@@ -529,6 +529,14 @@ by the local file. | |||
|
|||
Quit from the debugger. The program being executed is aborted. | |||
|
|||
.. pdbcommand:: debug code | |||
|
|||
Enter a recursive debugger that steps through the code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enter in a recursive debugger...
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a verbatim copy from docs string. I could be wrong here but "Enter in" doesn't sound better than "Enter"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@csabella can you please help us on this one? Thanks :)))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enter
works here.
Misc/NEWS.d/next/Documentation/2019-04-19-21-45-18.bpo-36277.yVzAvJ.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Documentation/2019-04-19-21-45-18.bpo-36277.yVzAvJ.rst
Outdated
Show resolved
Hide resolved
(closing / reopening PR to restart failed Travis) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you for the contribution, @nguyendv!
Thanks @nguyendv for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
…2872) https://bugs.python.org/issue36277 Automerge-Triggered-By: @csabella (cherry picked from commit 9391f6c) Co-authored-by: Dave Nguyen <dv@dvnguyen.com>
GH-17308 is a backport of this pull request to the 3.8 branch. |
…2872) https://bugs.python.org/issue36277 Automerge-Triggered-By: @csabella (cherry picked from commit 9391f6c) Co-authored-by: Dave Nguyen <dv@dvnguyen.com>
GH-17309 is a backport of this pull request to the 3.7 branch. |
https://bugs.python.org/issue36277 Automerge-Triggered-By: @csabella (cherry picked from commit 9391f6c) Co-authored-by: Dave Nguyen <dv@dvnguyen.com>
https://bugs.python.org/issue36277 Automerge-Triggered-By: @csabella (cherry picked from commit 9391f6c) Co-authored-by: Dave Nguyen <dv@dvnguyen.com>
https://bugs.python.org/issue36277
Automerge-Triggered-By: @csabella