| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Sorry, something went wrong.
|
May I please ping this, it's blocking Sphinx 5.3 update in openSUSE CI right now. |
Sorry, something went wrong.
@ezio-melotti, @merwok, @JulienPalard, @willingc You are enlisted on https://devguide.python.org/core-developers/experts/ as experts for documentation. Could you please review this PR? Thank you. |
Sorry, something went wrong.
…bility in pyspecific.py [why] spinix 5.3 changed locale.translators from a defaultdict(gettext.NullTranslations) to a dict, which leads to failure of pyspecific.py. Use sphinx.locale._ as gettext to fix the issue.
|
Desk review looks reasonable, though ideally we'd confirm by building one of the translations against this PR. A |
Sorry, something went wrong.
@mattwang44, are you able to do that? |
Sorry, something went wrong.
|
@AA-Turner @AlexWaygood |
Sorry, something went wrong.
|
Great that the build passed. Is the translation correct for implementation detail directives, to sanity check that the new code works? A |
Sorry, something went wrong.
The static site of translated doc in zh_TW has been deployed to the GitHub page (GitHub Action logs is here). I've checked a couple of recently-merged translation PRs and it looks fine to me. |
Sorry, something went wrong.
|
Should this be backported to 3.11 and 3.10 too? |
Sorry, something went wrong.
|
Yes! A |
Sorry, something went wrong.
|
Thanks @mattwang44 for the PR, and @ezio-melotti for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, something went wrong.
|
Thanks @mattwang44 for the PR, and @ezio-melotti for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Sorry, something went wrong.
…thonGH-98437) fix(doc-tools): use sphinx.locale._ as gettext() for backward-compatibility in pyspecific.py [why] spinix 5.3 changed locale.translators from a defaultdict(gettext.NullTranslations) to a dict, which leads to failure of pyspecific.py. Use sphinx.locale._ as gettext to fix the issue. (cherry picked from commit d26ee8a) Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
|
GH-99358 is a backport of this pull request to the 3.10 branch. |
Sorry, something went wrong.
…thonGH-98437) fix(doc-tools): use sphinx.locale._ as gettext() for backward-compatibility in pyspecific.py [why] spinix 5.3 changed locale.translators from a defaultdict(gettext.NullTranslations) to a dict, which leads to failure of pyspecific.py. Use sphinx.locale._ as gettext to fix the issue. (cherry picked from commit d26ee8a) Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
|
GH-99359 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
fix(doc-tools): use sphinx.locale._ as gettext() for backward-compatibility in pyspecific.py [why] spinix 5.3 changed locale.translators from a defaultdict(gettext.NullTranslations) to a dict, which leads to failure of pyspecific.py. Use sphinx.locale._ as gettext to fix the issue. (cherry picked from commit d26ee8a) Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
fix(doc-tools): use sphinx.locale._ as gettext() for backward-compatibility in pyspecific.py [why] spinix 5.3 changed locale.translators from a defaultdict(gettext.NullTranslations) to a dict, which leads to failure of pyspecific.py. Use sphinx.locale._ as gettext to fix the issue. (cherry picked from commit d26ee8a) Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
…thon#98437) fix(doc-tools): use sphinx.locale._ as gettext() for backward-compatibility in pyspecific.py [why] spinix 5.3 changed locale.translators from a defaultdict(gettext.NullTranslations) to a dict, which leads to failure of pyspecific.py. Use sphinx.locale._ as gettext to fix the issue.
| Back | FazBrowse Home | New Git URL |
sphinx 5.3 changed sphinx.locale.translators from a defaultdict(gettext.NullTranslations) to a dict (commit), which led to failure of pyspecific.py. Use sphinx.locale._ as gettext() to fix the issue.