Skip to content

Fix old-style print statement in gettext comments #122939

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
Aug 12, 2024

Conversation

sobolevn
Copy link
Member

No description provided.

Copy link
Member

@Eclips4 Eclips4 left a comment

Choose a reason for hiding this comment

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

LGTM.
Actually, there are a couple of other entries of old print statements:

  • Lib/textwrap.py: Line 495-496
  • Lib/idlelib/colorizer.py: Line 293
  • Lib/logging/config.py: Line 427
  • Lib/test/test_decimal.py: Line 302, Line 319
  • Lib/test/test_set.py: Line 1581
  • Lib/test/test_stringprep.py: Line 89
  • Lib/test/support/script_helper.py: Line 260, Line 296

I'm not sure if this should be done during this PR.

@AA-Turner
Copy link
Member

I'd consolidate in one PR rather than opening multiple smaller ones (e.g. #122940).

A

@sobolevn
Copy link
Member Author

I opened several, because this one won't be backported, while #122940 will be, since it is a documentation fix. And this one is a refactoring.

Thanks for the reviews! 👍

@sobolevn sobolevn merged commit 7c22ab5 into python:main Aug 12, 2024
37 checks passed
blhsing pushed a commit to blhsing/cpython that referenced this pull request Aug 22, 2024
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.

3 participants