-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-113637: Let c_annotations.py to handle the spacing of Limited/Unstable API & Stable ABI translation strings #113638
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
…ings and handle the spacing in c_annotations.py
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
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!
@hugovk Would you like me to update the branch? No conflicts though. |
No need to update unless there are some special changes we need from We can merge this tomorrow if there are no objections. |
…d/Unstable API & Stable ABI translation strings (pythonGH-113638) (cherry picked from commit ea978c6) Co-authored-by: Ege Akman <[email protected]>
Sorry, @egeakman and @hugovk, I could not cleanly backport this to
|
GH-113676 is a backport of this pull request to the 3.12 branch. |
@egeakman Would you like to have a go doing the 3.11 backport? Let me know if you've any questions, and I'm happy to do it too. |
… Limited/Unstable API & Stable ABI translation strings (python#113638) (cherry picked from commit ea978c6)
GH-113679 is a backport of this pull request to the 3.11 branch. |
…ed/Unstable API & Stable ABI translation strings (GH-113638) (#113676) Co-authored-by: Ege Akman <[email protected]>
…d/Unstable API & Stable ABI translation strings (python#113638)
…d/Unstable API & Stable ABI translation strings (python#113638)
…d/Unstable API & Stable ABI translation strings (python#113638)
I've removed the hardcoded leading and trailing whitespaces in the template file, now
c_annotations.py
handles them.Part of the
: We add one leading and one trailing space to the translated stringThis is
: We add a trailing spaceThis makes the translations easier and less error-prone to unwanted concatenations.
See also: #107680 (comment)
CC: @AA-Turner and @hugovk
Here is how it looks in the preview:
📚 Documentation preview 📚: https://cpython-previews--113638.org.readthedocs.build/