Skip to content

gh-103668: Run pyugrade on idlelib #103671

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 6 commits into from
Apr 23, 2023
Merged

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Apr 21, 2023

This is just a demo, please feel free to close.

Copy link
Member

@terryjreedy terryjreedy 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 doing this; saves me installing pyupgrade. Is this with 3.11 option? Changes only involve super, open, f-string, .format(2), and 2 others once each. So not nearly as hard to review as I expected. I will apply my suggestions, recheck after CI, and presumably merge and backport.

@terryjreedy terryjreedy added the needs backport to 3.11 only security fixes label Apr 22, 2023
@terryjreedy terryjreedy self-assigned this Apr 22, 2023
@sobolevn
Copy link
Member Author

Is this with 3.11 option?

Yes

Changes only involve super, open, f-string, .format(2), and 2 others once each

Yes, looks like all other legacy code was updated already / not used.

@terryjreedy terryjreedy merged commit bd2dca0 into python:main Apr 23, 2023
@miss-islington
Copy link
Contributor

Thanks @sobolevn for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 23, 2023
---------
Co-authored-by: Terry Jan Reedy <[email protected]>
(cherry picked from commit bd2dca0)

Co-authored-by: Nikita Sobolev <[email protected]>
@bedevere-bot
Copy link

GH-103730 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Apr 23, 2023
terryjreedy pushed a commit that referenced this pull request Apr 24, 2023
---------
(cherry picked from commit bd2dca0)
Co-authored-by: Nikita Sobolev <[email protected]>
Co-authored-by: Terry Jan Reedy [email protected]
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.

5 participants