Skip to content

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

Merged
merged 4 commits into from
Dec 22, 2023

Conversation

WolframAlph
Copy link
Contributor

@WolframAlph WolframAlph commented Dec 20, 2023

@WolframAlph WolframAlph changed the title Improve error message & document arg super inside nested functions and generator expressions gh-113212: Improve error message & document arg super inside nested functions and generator expressions Dec 20, 2023
@WolframAlph WolframAlph changed the title gh-113212: Improve error message & document arg super inside nested functions and generator expressions gh-113212: Improve error message & document zero-arg super inside nested functions and generator expressions Dec 20, 2023
@Eclips4 Eclips4 requested a review from carljm December 20, 2023 18:39
@WolframAlph WolframAlph force-pushed the zero-arg-super branch 3 times, most recently from adb9e79 to 9fdccb7 Compare December 20, 2023 20:10
Copy link
Member

@carljm carljm left a 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.

@bedevere-app
Copy link

bedevere-app bot commented Dec 21, 2023

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.

Copy link
Member

@carljm carljm left a 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?

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a 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.

@AlexWaygood AlexWaygood removed their request for review December 22, 2023 14:05
Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

LGTM.

@serhiy-storchaka serhiy-storchaka merged commit 4a3d241 into python:main Dec 22, 2023
ryan-duve pushed a commit to ryan-duve/cpython that referenced this pull request Dec 26, 2023
kulikjak pushed a commit to kulikjak/cpython that referenced this pull request Jan 22, 2024
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants