Commit 150262d
[3.14] pythongh-133740: Fix regression in locale.nl_langinfo(ALT_DIGITS) (pythonGH-136237) (pythonGH-136240)
There is no need to temporary switch locale for items ALT_DIGITS and ERA
if the nl_langinfo() result is empty (most locales).
(cherry picked from commit 5c984ae)
Co-authored-by: Serhiy Storchaka <[email protected]>1 parent 4bc9c01 commit 150262d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
695 | | - | |
| 695 | + | |
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
| |||
0 commit comments