-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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-101986: Support translation for Limited/Unstable API & Stable ABI #107680
Conversation
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
@Yhg1s Would you rather wait until 3.12.1 for this? If so, shall we also hold off merging it to |
3.12.1 will be the next release, we're good to merge this now. @AA-Turner Would you like to use your new powers to click the big green button? :) |
Let's not wait any longer. Thanks for the PR! |
Thanks @AA-Turner for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
…e ABI (pythonGH-107680) (cherry picked from commit 9cdf05b) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
GH-112940 is a backport of this pull request to the 3.12 branch. |
Sorry, @AA-Turner and @hugovk, I could not cleanly backport this to
|
GH-112941 is a backport of this pull request to the 3.11 branch. |
…& Stable ABI (pythonGH-107680) (cherry picked from commit 9cdf05b) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@@ -9,6 +9,16 @@ | |||
|
|||
In extensions/c_annotations.py: | |||
|
|||
{% trans %} Part of the {% endtrans %} |
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.
@AA-Turner sphinx-lint complains about the trailing whitespaces here and here, and if I remove these whitespace in the translation (po file), the HTML ends up like this: (no spaces in-between)
and so on
Could we remove these trailing whitespaces here, and insert them at the beginning of Limited API
and Stable ABI
?
We can remove all the whitespaces (leading and trailing) in the template file and modify c_annotations.py to handle the spacing.
…esolved. Remove pip caching
…e ABI (python#107680) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
…e ABI (python#107680) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
cc: @remilapeyre
A
📚 Documentation preview 📚: https://cpython-previews--107680.org.readthedocs.build/