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 | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:6508dc74-b9e9-3b67-5aab-c748fd6e1795 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DA0C:15A51:21AAA89:2FEC11B:6A50EC62 |
| html-safe-nonce | 0d1e5fa3744a4fae2674c36fe53b6bf81b9f0fe85d80e9341f7573058d21a452 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTBDOjE1QTUxOjIxQUFBODk6MkZFQzExQjo2QTUwRUM2MiIsInZpc2l0b3JfaWQiOiI2NzI1MjIzNzk3MTg2Njg2MDUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 330127e948f15fda39d041e04551a97b5084bda4af52302e1a68b5c365556092 |
| 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/python/cpython/pull/12178/commits |
| 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 | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| 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 | fb19d617b534959801b4b7453938ecf1dfa22131 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width