Title: [3.5] bpo-29571: Use correct locale encoding in test_re (#149) by ncoghlan · Pull Request #154 · python/cpython · GitHub
Open Graph Title: [3.5] bpo-29571: Use correct locale encoding in test_re (#149) by ncoghlan · Pull Request #154 · python/cpython
X Title: [3.5] bpo-29571: Use correct locale encoding in test_re (#149) by ncoghlan · Pull Request #154 · 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/154
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:95f10dc5-3ae4-0c8c-6090-e0c7896e16d1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D24E:29DA90:4033E6:57BE9D:6A511F82 |
| html-safe-nonce | b91e732fc78e64106070acb6a67bf4a849f9be8f80bc7a793d692e35e5c91733 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjRFOjI5REE5MDo0MDMzRTY6NTdCRTlEOjZBNTExRjgyIiwidmlzaXRvcl9pZCI6IjUxMjc5NzU3NDUyODE0MDA3MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 79d97eb6c7045a273822cc6483700fc13e23a7791a0b77da5753a35bcaa9c4df |
| hovercard-subject-tag | pull_request:106857600 |
| 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/154/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 | 689b683944b0d7f015d0e776452c970832fa81b82dc15284469b556ecced715b |
| 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 | 942b51ed3bd5feee3d5e2719f890a5fe286edbbb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width