-
-
Notifications
You must be signed in to change notification settings - Fork 30.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
GH-121970: Extract availability
into a new extension
#125082
Conversation
Is the point here that it's easier to reason about as a standalone extension, rather than everything being in one big |
Indeed, and also allows for more gradual improvement towards type hints & linting. We already had a patchy approach with some standalone extensions and a massive pyspecific file, the intended end goal is that each extension is self contained.
A |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's stick with the (mostly) double quotes from the original (and change the couple of singles into double).
PEP 8 says "In Python, single-quoted strings and double-quoted strings are the same. This PEP does not make a recommendation for this. Pick a rule and stick to it."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Thanks @AA-Turner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
Sorry, @AA-Turner, I could not cleanly backport this to
|
Sorry, @AA-Turner, I could not cleanly backport this to
|
…pythonGH-125082) (cherry picked from commit cbfd392) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
GH-125237 is a backport of this pull request to the 3.13 branch. |
…pythonGH-125082) (cherry picked from commit cbfd392) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
GH-125238 is a backport of this pull request to the 3.12 branch. |
This gives identical output before-and-after with
SOURCE_DATE_EPOCH
.A
pyspecific
#121970📚 Documentation preview 📚: https://cpython-previews--125082.org.readthedocs.build/