Skip to content

Remove "print >>obj" exception hint for Python 2 #122853

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 2 commits into from
Aug 12, 2024

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Aug 9, 2024

Python 2 reached end of life on January 1st, 2020. The Python ecosystem is now using Python 3.

Python 2 reached end of life on January 1st, 2020. The Python
ecosystem is now using Python 3.
@Eclips4
Copy link
Member

Eclips4 commented Aug 9, 2024

test_print.TestPy2MigrationHint.test_stream_redirection_hint_for_py2_migration should also be removed

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. IMO, it's OK to delete this hint, since it(print >> output) is not widely used, I guess.

@hauntsaninja hauntsaninja enabled auto-merge (squash) August 12, 2024 04:12
@hauntsaninja hauntsaninja merged commit 9375b9c into python:main Aug 12, 2024
37 checks passed
@vstinner vstinner deleted the print_py2 branch August 12, 2024 10:07
@vstinner
Copy link
Member Author

Thanks.

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