-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-113212: Improve error message & document zero-arg super inside nested functions and generator expressions #113307
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
4973555
to
57cd381
Compare
57cd381
to
cba55de
Compare
adb9e79
to
9fdccb7
Compare
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.
Thanks for working on this! This direction looks right to me; I have some thoughts inline about how to tweak the approach.
Misc/NEWS.d/next/Core and Builtins/2023-12-20-08-54-54.gh-issue-113212.62AUlw.rst
Outdated
Show resolved
Hide resolved
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 |
9fdccb7
to
f13a3cc
Compare
f13a3cc
to
e21b4f9
Compare
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 looks good to me! Thanks @WolframAlph for the contribution. @AlexWaygood, any review comments before I merge?
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 except PEP 7 and PEP 8 nitpicks. Some lines in C and Python code exceed the limit, please break them.
e21b4f9
to
944ab83
Compare
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.
…de nested functions and generator expressions (pythonGH-113307)
…de nested functions and generator expressions (pythonGH-113307)
…de nested functions and generator expressions (pythonGH-113307)
…de nested functions and generator expressions (pythonGH-113307)
super()
error message and document zero-argsuper()
usage inside nested functions and generator expressions. #113212📚 Documentation preview 📚: https://cpython-previews--113307.org.readthedocs.build/