Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision 6eff6b8eecd7a8eccad16419269fa18ec820922e authored by Victor Stinner on 20 November 2018, 21:06:21 UTC, committed by GitHub on 20 November 2018, 21:06:21 UTC
locale.localeconv() now sets temporarily the LC_CTYPE locale to the LC_MONETARY locale if the two locales are different and monetary strings are non-ASCII. This temporary change affects other threads. Changes: * locale.localeconv() can now set LC_CTYPE to LC_MONETARY to decode monetary fields. * Add LocaleInfo.grouping_buffer: copy localeconv() grouping string since it can be replaced anytime if a different thread calls localeconv(). (cherry picked from commit 02e6bf7f2025cddcbde6432f6b6396198ab313f4)
1 parent d57ab8a
Tip revision: 6eff6b8eecd7a8eccad16419269fa18ec820922e authored by Victor Stinner on 20 November 2018, 21:06:21 UTC
bpo-28604: Fix localeconv() for different LC_MONETARY (GH-10606) (GH-10619)
bpo-28604: Fix localeconv() for different LC_MONETARY (GH-10606) (GH-10619)
Tip revision: 6eff6b8
File | Mode | Size |
---|---|---|
.azure-pipelines | ||
.github | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Programs | ||
Python | ||
Tools | ||
m4 | ||
.gitattributes | -rw-r--r-- | 1.5 KB |
.gitignore | -rw-r--r-- | 1.5 KB |
.travis.yml | -rw-r--r-- | 6.0 KB |
CODE_OF_CONDUCT.rst | -rw-r--r-- | 631 bytes |
LICENSE | -rw-r--r-- | 12.5 KB |
Makefile.pre.in | -rw-r--r-- | 61.1 KB |
README.rst | -rw-r--r-- | 9.9 KB |
aclocal.m4 | -rw-r--r-- | 10.7 KB |
config.guess | -rwxr-xr-x | 43.1 KB |
config.sub | -rwxr-xr-x | 35.4 KB |
configure | -rwxr-xr-x | 488.5 KB |
configure.ac | -rw-r--r-- | 163.3 KB |
install-sh | -rwxr-xr-x | 7.0 KB |
pyconfig.h.in | -rw-r--r-- | 42.1 KB |
setup.py | -rw-r--r-- | 99.5 KB |
Computing file changes ...