Please sign in to comment.
…10619) (GH-10621) 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 02e6bf7) (cherry picked from commit 6eff6b8)
- Loading branch information...
Showing with 107 additions and 14 deletions.
|@@ -0,0 +1,3 @@|
|:func:`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.|