Skip to content

Simplify creation of the __new__ method in namedtuple() #20361

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 1 commit into from
May 26, 2020

Conversation

rhettinger
Copy link
Contributor

Minor code simplification. Using exec() is slower and more awkward than eval() in this context.

@miss-islington
Copy link
Contributor

Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 26, 2020
(cherry picked from commit 3cfe5b7)

Co-authored-by: Raymond Hettinger <[email protected]>
@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label May 26, 2020
@bedevere-bot
Copy link

GH-20409 is a backport of this pull request to the 3.9 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants