Title: bpo-36763: Fix _PyPreConfig_InitCompatConfig() utf8_mode by vstinner · Pull Request #13518 · python/cpython · GitHub
Open Graph Title: bpo-36763: Fix _PyPreConfig_InitCompatConfig() utf8_mode by vstinner · Pull Request #13518 · python/cpython
X Title: bpo-36763: Fix _PyPreConfig_InitCompatConfig() utf8_mode by vstinner · Pull Request #13518 · python/cpython
Description: _PyPreConfig_InitCompatConfig() sets utf8_mode to 0. Change Py_UTF8Mode default value to 0. Fix _PyPreConfig_Copy(): copy also _config_init attrbibute. Fix _PyPreConfig_GetGlobalConfig(): use Py_UTF8Mode if it's greater than 0, even if utf8_mode >= 0. Add unit tests on environment variables using Python API. https://bugs.python.org/issue36763
Open Graph Description: _PyPreConfig_InitCompatConfig() sets utf8_mode to 0. Change Py_UTF8Mode default value to 0. Fix _PyPreConfig_Copy(): copy also _config_init attrbibute. Fix _PyPreConfig_GetGlobalConfig(): use Py_UT...
X Description: _PyPreConfig_InitCompatConfig() sets utf8_mode to 0. Change Py_UTF8Mode default value to 0. Fix _PyPreConfig_Copy(): copy also _config_init attrbibute. Fix _PyPreConfig_GetGlobalConfig(): use Py_UT...
Opengraph URL: https://github.com/python/cpython/pull/13518
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:94810a41-0087-7e60-bc47-d5daa799924e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AFC0:26C5EC:17A66A0:20CD6EB:6A4EA766 |
| html-safe-nonce | 7a5c8cfdee4ff149f2ef52e521ef176455f6dd40b2e0c429599b6fe0621478ed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkMwOjI2QzVFQzoxN0E2NkEwOjIwQ0Q2RUI6NkE0RUE3NjYiLCJ2aXNpdG9yX2lkIjoiMzI2OTY3NjM0MjcxOTcxOTI3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 543b3c737db605047ad510422a9d460202ce17f360a89764901f0dde5b18e27c |
| hovercard-subject-tag | pull_request:281411891 |
| 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/13518/files |
| 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 | _PyPreConfig_InitCompatConfig() sets utf8_mode to 0. Change Py_UTF8Mode default value to 0. Fix _PyPreConfig_Copy(): copy also _config_init attrbibute. Fix _PyPreConfig_GetGlobalConfig(): use Py_UT... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width