diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2025-05-22 14:31:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-22 14:31:26 (GMT) |
commit | c31b25c705fffc42f955def6b8f4f7d2bc96916c (patch) | |
tree | 2ee147575378e94da3cb567a3e29690f4f092398 /Lib/test/test_pydoc/pydocfodder.py | |
parent | ced49a196f0e1ea06ba892b875f18e7b11ed26b7 (diff) | |
download | cpython-c31b25c705fffc42f955def6b8f4f7d2bc96916c.zip cpython-c31b25c705fffc42f955def6b8f4f7d2bc96916c.tar.gz cpython-c31b25c705fffc42f955def6b8f4f7d2bc96916c.tar.bz2 |
[3.14] gh-133740: Fix locale.nl_langinfo(ALT_DIGITS) (GH-134468) (#134512)
gh-133740: Fix locale.nl_langinfo(ALT_DIGITS) (GH-134468)
Set the LC_CTYPE locale to the LC_TIME locale even if
nl_langinfo(ALT_DIGITS) result is ASCII. The result is a list
separated by NUL characters and the code only checks the first list
item which can be ASCII whereas following items are non-ASCII.
Fix test__locale for the uk_UA locale on RHEL 7.
(cherry picked from commit 899c7dc283cb899fdfd79fb479b38352f48e454a)
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/test/test_pydoc/pydocfodder.py')
0 files changed, 0 insertions, 0 deletions