Skip to content

Conversation

henryiii
Copy link
Contributor

@henryiii henryiii commented Sep 13, 2023

Fixes #1611. We could slide down a slippery slope here, but this one is common and simple (vs. supporting **kwargs or something like that). And the code will look a lot better once we drop Python 3.9 from our runners in a few years.

Copy link
Contributor

@joerick joerick left a comment

Choose a reason for hiding this comment

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

ASTs are kinda fun, so, yeah, i'm happy with it :)

@joerick joerick merged commit f0feaff into pypa:main Sep 18, 2023
@henryiii henryiii deleted the henryiii/fix/mainif branch June 6, 2024 15:19
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.

setup.py setup() not detected in __name__ == '__main__' block

2 participants