diff options
author | Victor Stinner <vstinner@python.org> | 2025-05-22 16:05:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-22 16:05:07 +0200 |
commit | 899c7dc283cb899fdfd79fb479b38352f48e454a (patch) | |
tree | 2f784981f462f761c9589a6f147c8dd36da57ff2 /Python/optimizer_symbols.c | |
parent | 8c5e5557c64a8d6310b2a958f576d5eb245cb1b6 (diff) | |
download | cpython-899c7dc283cb899fdfd79fb479b38352f48e454a.tar.gz cpython-899c7dc283cb899fdfd79fb479b38352f48e454a.zip |
gh-133740: Fix locale.nl_langinfo(ALT_DIGITS) (#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.
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/optimizer_symbols.c')
0 files changed, 0 insertions, 0 deletions