FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.10] gh-98366: use sphinx.locale._ as gettext() in pyspecific.py (GH-98437) by miss-islington · Pull Request #99358 · python/cpython · GitHub

/ cpython Public

[3.10] gh-98366: use sphinx.locale._ as gettext() in pyspecific.py (GH-98437) - #99358

Merged
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-d26ee8a-3.10
Nov 11, 2022
Merged

[3.10] gh-98366: use sphinx.locale._ as gettext() in pyspecific.py (GH-98437)#99358
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-d26ee8a-3.10

Conversation

miss-islington commented Nov 11, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

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

…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>

Copy link
Copy Markdown
Contributor Author

Sorry, I can't merge this PR. Reason: 3 of 6 required status checks are expected..

miss-islington merged commit 5612471 into python:3.10 Nov 11, 2022
miss-islington deleted the backport-d26ee8a-3.10 branch November 11, 2022 01:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL