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
Meta issue: clean up redundant compat code #100176
Labels
type-bug
An unexpected behavior, bug, or error
Comments
hugovk
added a commit
to hugovk/cpython
that referenced
this issue
Dec 11, 2022
Python 3.2 has been EOL since 2016-02-20 and 2.7 since 2020-01-01, so we can remove this old compatibility check and unindent the old else-block. Also, in the unindented block, replace a .format() call with an f-string. Plus similar changes in the documentation.
hauntsaninja
added a commit
to hauntsaninja/cpython
that referenced
this issue
Dec 12, 2022
…inic - clinic.py actually requires at least Python 3.6 - This check will fail if there is a 4.0
kumaraditya303
pushed a commit
that referenced
this issue
Dec 12, 2022
hugovk
added a commit
to hugovk/cpython
that referenced
this issue
Dec 12, 2022
Python 3.2 has been EOL since 2016-02-20 and 2.7 since 2020-01-01, so we can remove this old compatibility check and unindent the old else-block. Also, in the unindented block, replace a .format() call with an f-string. Plus similar changes in the documentation.
vsajip
pushed a commit
that referenced
this issue
Dec 14, 2022
) gh-100176: Remove redundant compat code for Python 3.2 and older Python 3.2 has been EOL since 2016-02-20 and 2.7 since 2020-01-01, so we can remove this old compatibility check and unindent the old else-block. Also, in the unindented block, replace a .format() call with an f-string. Plus similar changes in the documentation.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hugovk commentedDec 11, 2022
•
edited by bedevere-bot
Bug report
There's several places that have compatibility code for EOL and unsupported Python versions.
We can modernise the code by removing the obsolete bits.
I'll open separate PRs to keep the changes focused by area, and intend to use this meta issue for them all (but can also open separate issues if preferred).
Linked PRs
The text was updated successfully, but these errors were encountered: