-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
GH-101986: Support translation for Limited/Unstable API & Stable ABI #107680
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
Conversation
Co-authored-by: Ezio Melotti <[email protected]>
@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 <[email protected]> Co-authored-by: Ezio Melotti <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
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 <[email protected]> Co-authored-by: Ezio Melotti <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
…le ABI (GH-107680) (#112940) Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Ezio Melotti <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
…le ABI (GH-107680) (#112941) Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Ezio Melotti <[email protected]>
@@ -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 <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
…e ABI (python#107680) Co-authored-by: Ezio Melotti <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
cc: @remilapeyre
A
📚 Documentation preview 📚: https://cpython-previews--107680.org.readthedocs.build/