Title: [3.7] bpo-29571: Fix test_re.test_locale_flag() by vstinner · Pull Request #12178 · python/cpython · GitHub
Open Graph Title: [3.7] bpo-29571: Fix test_re.test_locale_flag() by vstinner · Pull Request #12178 · python/cpython
X Title: [3.7] bpo-29571: Fix test_re.test_locale_flag() by vstinner · Pull Request #12178 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Use locale.getpreferredencoding() rather than locale.getlocale() to get the locale encoding. With some locales, locale.getlocale() returns the wrong encoding. For example, on Fedora 29, locale.getl...
X Description: Use locale.getpreferredencoding() rather than locale.getlocale() to get the locale encoding. With some locales, locale.getlocale() returns the wrong encoding. For example, on Fedora 29, locale.getl...
Opengraph URL: https://github.com/python/cpython/pull/12178
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:9eeab734-c9a2-0254-6288-64150bb5c4f8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B7FA:C8AE2:896DC4C:C07DCB6:6A50752E |
| html-safe-nonce | 03a7a352b57416c295778ff0899c951db7eb58cc646fc3061c24acefce9ce707 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0ZBOkM4QUUyOjg5NkRDNEM6QzA3RENCNjo2QTUwNzUyRSIsInZpc2l0b3JfaWQiOiIxOTMwODQ1NzkxNDMxMTkzOTAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e9198a276b83deba71770e1eff68344161475acbe18c04257bdb092dfa9b2c5e |
| hovercard-subject-tag | pull_request:258310793 |
| 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/_view_fragments/voltron/pull_requests/show/python/cpython/12178/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c91dcb4f37ad0198472ecc00a72932a439c05e59944a46e562d4d91d121b8f0a/python/cpython/pull/12178 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c91dcb4f37ad0198472ecc00a72932a439c05e59944a46e562d4d91d121b8f0a/python/cpython/pull/12178 |
| og:image:alt | Use locale.getpreferredencoding() rather than locale.getlocale() to get the locale encoding. With some locales, locale.getlocale() returns the wrong encoding. For example, on Fedora 29, locale.getl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width