Commit 98c49c6
authored
* _Py_InitializeCore() now sets the LC_CTYPE locale to the user
preferred locale before checking if the C locale should be coerced
or not in _PyCoreConfig_Read().
* Fix pymain_read_conf(): remember if the C locale has been coerced
when the configuration should be read again if the encoding has
changed.
(cherry picked from commit 2c8ddcf)
1 parent 65ef742 commit 98c49c6
2 files changed
+19
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1854 | 1854 | | |
1855 | 1855 | | |
1856 | 1856 | | |
1857 | | - | |
1858 | | - | |
1859 | | - | |
1860 | | - | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
1861 | 1861 | | |
1862 | 1862 | | |
1863 | | - | |
1864 | | - | |
1865 | | - | |
1866 | | - | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
1867 | 1869 | | |
1868 | 1870 | | |
1869 | 1871 | | |
| |||
2044 | 2046 | | |
2045 | 2047 | | |
2046 | 2048 | | |
2047 | | - | |
| 2049 | + | |
2048 | 2050 | | |
2049 | 2051 | | |
2050 | 2052 | | |
| |||
2071 | 2073 | | |
2072 | 2074 | | |
2073 | 2075 | | |
| 2076 | + | |
2074 | 2077 | | |
2075 | 2078 | | |
2076 | 2079 | | |
| |||
2082 | 2085 | | |
2083 | 2086 | | |
2084 | 2087 | | |
| 2088 | + | |
2085 | 2089 | | |
2086 | 2090 | | |
2087 | 2091 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | 675 | | |
680 | 676 | | |
681 | 677 | | |
| |||
829 | 825 | | |
830 | 826 | | |
831 | 827 | | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
832 | 834 | | |
833 | 835 | | |
834 | 836 | | |
| |||
0 commit comments