-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
Add gettext support to tools/extensions/c_annotations.py #101989
Conversation
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.
Thanks, this matches how internationalisation is done in https://github.com/python/cpython/blob/main/Doc/tools/extensions/pyspecific.py and will help localise pages like https://docs.python.org/ko/3/c-api/codec.html / https://deploy-preview-101989--python-cpython-preview.netlify.app/c-api/codec.html
Thanks @remilapeyre for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Thanks @remilapeyre for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
GH-102480 is a backport of this pull request to the 3.10 branch. |
GH-102481 is a backport of this pull request to the 3.11 branch. |
(cherry picked from commit d959bcd) Co-authored-by: Rémi Lapeyre <remi.lapeyre@lenstra.fr>
(cherry picked from commit d959bcd) Co-authored-by: Rémi Lapeyre <remi.lapeyre@lenstra.fr>
* main: pythongh-102493: fix normalization in PyErr_SetObject (python#102502) pythongh-87092: compiler's CFG construction moved to after codegen stage (python#102320) pythongh-95913: Consolidate build requirements changes in 3.11 WhatsNew (pythonGH-98781) Remove redundant `_ensure_future` in favor of `ensure_future` in `asyncio` (python#102398) pythongh-95913: Edit Faster CPython section in 3.11 WhatsNew (pythonGH-98429) pythongh-90110: Fix the c-analyzer Tool (python#102483) pythongh-101759: Update macOS installer SQLite 3.40.1 checksum (pythongh-102485) Remove unused import of `warnings` from `unittest.loader` (python#102479) Add gettext support to tools/extensions/c_annotations.py (python#101989)
* main: pythongh-102493: fix normalization in PyErr_SetObject (python#102502) pythongh-87092: compiler's CFG construction moved to after codegen stage (python#102320) pythongh-95913: Consolidate build requirements changes in 3.11 WhatsNew (pythonGH-98781) Remove redundant `_ensure_future` in favor of `ensure_future` in `asyncio` (python#102398) pythongh-95913: Edit Faster CPython section in 3.11 WhatsNew (pythonGH-98429) pythongh-90110: Fix the c-analyzer Tool (python#102483) pythongh-101759: Update macOS installer SQLite 3.40.1 checksum (pythongh-102485) Remove unused import of `warnings` from `unittest.loader` (python#102479) Add gettext support to tools/extensions/c_annotations.py (python#101989)
No description provided.