Title: bpo-29571: Use correct locale encoding in test_re by ncoghlan · Pull Request #149 · python/cpython · GitHub
Open Graph Title: bpo-29571: Use correct locale encoding in test_re by ncoghlan · Pull Request #149 · python/cpython
X Title: bpo-29571: Use correct locale encoding in test_re by ncoghlan · Pull Request #149 · python/cpython
Description: local.getlocale(locale.LC_CTYPE) and locale.getpreferredencoding(False) may give different answers in some cases (such as the en_IN locale). re.LOCALE uses the latter, so update the test case to match.
Open Graph Description: local.getlocale(locale.LC_CTYPE) and locale.getpreferredencoding(False) may give different answers in some cases (such as the en_IN locale). re.LOCALE uses the latter, so update the test case to ma...
X Description: local.getlocale(locale.LC_CTYPE) and locale.getpreferredencoding(False) may give different answers in some cases (such as the en_IN locale). re.LOCALE uses the latter, so update the test case to ma...
Opengraph URL: https://github.com/python/cpython/pull/149
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:95447f5e-a111-5522-8a66-2fead5802c5e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B7D0:2086C7:89FD4ED:C12B356:6A50769C |
| html-safe-nonce | 1d263e00f39d21c570b53a25d86633ef6acbccb721a7c419e70bcc2ac1e737a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0QwOjIwODZDNzo4OUZENEVEOkMxMkIzNTY6NkE1MDc2OUMiLCJ2aXNpdG9yX2lkIjoiNDMwOTMzODk1NDE0MDc3NjA5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e1293ae6c7fd6188d419269b75e23472c406012c196931f8948c5511962b4ec6 |
| hovercard-subject-tag | pull_request:106855361 |
| 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/149/files |
| twitter:image | https://avatars.githubusercontent.com/u/1026649?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1026649?s=400&v=4 |
| og:image:alt | local.getlocale(locale.LC_CTYPE) and locale.getpreferredencoding(False) may give different answers in some cases (such as the en_IN locale). re.LOCALE uses the latter, so update the test case to ma... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | true |
| 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