-
-
Notifications
You must be signed in to change notification settings - Fork 32k
bpo-46434: Handle missing docstring in pdb help #30705
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
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
If you click the "Details" link next to the failed check, it will help you add a NEWS entry. If you'd like to add yourself to ACKS, feel free to do it as part of this PR. I don't think we need a docs update for this. |
pdb help now gracefully handles any case where __doc__ is missing, for | ||
example when run from a windows embeddable package |
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.
pdb help now gracefully handles any case where __doc__ is missing, for | |
example when run from a windows embeddable package | |
:mod:`pdb` now gracefully handles any case where :attr:`__doc__` is missing, for | |
example when run with pregenerated optimized ``.pyc`` files. |
FYI, I found the special references by searching the Doc
folder for other examples. These will turn them into links in the final doc.
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.
Ah cool thank you, good to know! Maybe it's not important but should we retain a reference to help
in there given it's the help command within pdb which has been fixed? Otherwise "any case" without the scope of 'help' feels like a bit of an overstatement (!)
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.
Hopefully ba2053d is ok
Co-authored-by: Steve Dower <[email protected]>
Sorry @sparrowt and @zooba, I had trouble checking out the |
GH-30754 is a backport of this pull request to the 3.9 branch. |
(cherry picked from commit 60705cf) Co-authored-by: Tom Sparrow <[email protected]>
(cherry picked from commit 60705cf) Co-authored-by: Tom Sparrow <[email protected]>
|
(cherry picked from commit 60705cf) Co-authored-by: Tom Sparrow <[email protected]>
GH-30759 is a backport of this pull request to the 3.10 branch. |
(cherry picked from commit 60705cf) Co-authored-by: Tom Sparrow <[email protected]>
(cherry picked from commit 60705cf) Co-authored-by: Tom Sparrow <[email protected]>
(cherry picked from commit 60705cf) Co-authored-by: Tom Sparrow <[email protected]>
Proposed fix for https://bugs.python.org/issue46434
When using embeddable windows distribution of python,
__doc__
strings are missing sohelp CMD
in pdb explodes without this patch.This is my first contribution, apologies I wasn't sure whether I should update Docs, Misc/ACKS or Misc/NEWS.d
https://bugs.python.org/issue46434