Title: [3.6] bpo-28604: Fix localeconv() for different LC_MONETARY (GH-10606) (GH-10619) by vstinner · Pull Request #10621 · python/cpython · GitHub
Open Graph Title: [3.6] bpo-28604: Fix localeconv() for different LC_MONETARY (GH-10606) (GH-10619) by vstinner · Pull Request #10621 · python/cpython
X Title: [3.6] bpo-28604: Fix localeconv() for different LC_MONETARY (GH-10606) (GH-10619) by vstinner · Pull Request #10621 · python/cpython
Description: 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) https://bugs.python.org/issue28604
Open Graph Description: 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 threa...
X Description: 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 threa...
Opengraph URL: https://github.com/python/cpython/pull/10621
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:810578a2-0153-b921-94a5-30c113098da1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CEDA:2C7E8A:31813CA:41252FA:69955C32 |
| html-safe-nonce | d27aabeaa14195ffc2fc1dc370f2be855977b3b0eb6a47a13c962421007ac620 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRURBOjJDN0U4QTozMTgxM0NBOjQxMjUyRkE6Njk5NTVDMzIiLCJ2aXNpdG9yX2lkIjoiNTM1MzY0NzM5NzMxMzc5NzE3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 851f50aa376bf062c1d65fa3f86718ceac484a4977898668e515442a4e88c6ae |
| hovercard-subject-tag | pull_request:232459730 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/10621/commits/c2d8ef6350eefc41f1890eee943abceaeb1b535d |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | 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 threa... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4bd759bc5f83244e2a0de29b937365905c0fefd238b6f077c24a49830375b4df |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cac7d4a5a6053f6655d0c3e8bfe5fd7a55c216fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width