-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PEP 654: Add missing Python-Version header #2755
PEP 654: Add missing Python-Version header #2755
Conversation
Something for the pep linter? |
We could require Using the PEP API, it looks like this was the only somewhat-recent one that meets that criteria; the next earliest was PEP 523, though there are a fair number of older ones which would need to be cleaned up anyway: Full list
A related issue is the target Python versions of draft PEPs; it looks like a fair number are still nominally targeted for Python 3.11, and a couple to even earlier versions: Full list
We'd need to clean up the existing examples of each first, of course, and make sure there aren't any likely edge cases. |
FYI, opened #2756 to update the |
And opened #2757 to add |
PEP 654 was implemented in Python 3.11 but is missing a Python-Version header, which resulted in it not showing up in my search for 3.11 PEPs while helping with the What's New. This adds it.