-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-26806: IDLE should run without docstrings #14657
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
Fix regression introduced by fcf1d00.
@ZackerySpytz I added |
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.
My apologies for this regression; I wasn't aware of the option to build without doc-strings.
Thank you for creating this fix so quickly. I have tested this PR locally, and I can confirm that IDLE now runs again when CPython is configured without docstrings. However, I see the following in the terminal when I close the IDLE shell:
I don't know much about IDLE's internals, but this seems to be an unrelated issue. |
@ZackerySpytz, indeed that seems like a separate issue. It would be great if you would open a new issue with details how to reproduce it. Feel free to nosy me on the issue and I'll take a look. |
Tal, I was not either. Some years ago, the test_calltips then existing were guarded against -OO, but I had not idea that builtins like list and its methods could ever disappear. Hence the failure being fixed in #14592. After working on that, I want to try a different fix here, adding instead Zachery: I see that newish closing bug also, on Windows, and need to fix it. |
I added a test that would have failed, with doc == None, without patch. |
I opened bpo 37424 for bad closing and nosied both of you. Zachery, please check if specifc conditions are the same for you. |
This problem was reported by Zachery Spitz on #13944, the PR with the flawed merge. |
@terryjreedy: Please replace |
Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
GH-14677 is a backport of this pull request to the 3.8 branch. |
After fcf1d00, IDLE startup failed with python compiled without docstrings. (cherry picked from commit 6aeb2fe) Co-authored-by: Terry Jan Reedy <[email protected]>
GH-14678 is a backport of this pull request to the 3.7 branch. |
After fcf1d00, IDLE startup failed with python compiled without docstrings. (cherry picked from commit 6aeb2fe) Co-authored-by: Terry Jan Reedy <[email protected]>
After fcf1d00, IDLE startup failed with python compiled without docstrings. (cherry picked from commit 6aeb2fe) Co-authored-by: Terry Jan Reedy <[email protected]>
After fcf1d00, IDLE startup failed with python compiled without docstrings. (cherry picked from commit 6aeb2fe) Co-authored-by: Terry Jan Reedy <[email protected]>
|
After fcf1d00, IDLE startup failed with python compiled without docstrings.
After fcf1d00, IDLE startup failed with python compiled without docstrings.
After fcf1d00, IDLE startup failed with python compiled without docstrings.
https://bugs.python.org/issue26806