Title: bpo-36763: Add _PyPreConfig._config_init by vstinner · Pull Request #13481 · python/cpython · GitHub
Open Graph Title: bpo-36763: Add _PyPreConfig._config_init by vstinner · Pull Request #13481 · python/cpython
X Title: bpo-36763: Add _PyPreConfig._config_init by vstinner · Pull Request #13481 · python/cpython
Description: _PyPreConfig_GetGlobalConfig() and _PyCoreConfig_GetGlobalConfig() now do nothing if the configuration was not initialized with _PyPreConfig_Init() and _PyCoreConfig_Init() Remove utf8_mode=-2 special case: use utf8_mode=-1 instead. Fix _PyPreConfig_InitPythonConfig(): isolated = 0 instead of -1 use_environment = 1 instead of -1 Rename _PyConfig_INIT to _PyConfig_INIT_COMPAT Rename _PyPreConfig_Init() to _PyPreConfig_InitCompatConfig() Rename _PyCoreConfig_Init() to _PyCoreConfig_InitCompatConfig() PyInterpreterState_New() now uses _PyCoreConfig_InitPythonConfig() as default configuration, but it's very quickly overriden anyway. https://bugs.python.org/issue36763
Open Graph Description: _PyPreConfig_GetGlobalConfig() and _PyCoreConfig_GetGlobalConfig() now do nothing if the configuration was not initialized with _PyPreConfig_Init() and _PyCoreConfig_Init() Remove utf8_mode=-2 s...
X Description: _PyPreConfig_GetGlobalConfig() and _PyCoreConfig_GetGlobalConfig() now do nothing if the configuration was not initialized with _PyPreConfig_Init() and _PyCoreConfig_Init() Remove utf8_mode=-2 s...
Opengraph URL: https://github.com/python/cpython/pull/13481
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:738df6dd-9010-c5b4-d8db-1c4a02ff5591 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C4E8:14011B:125D25C:18E8142:6A4EF267 |
| html-safe-nonce | 8dd99b881b7b9d9aae58c4f5f4e8d8fb79e3fa98e92f387521790faabfade1db |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEU4OjE0MDExQjoxMjVEMjVDOjE4RTgxNDI6NkE0RUYyNjciLCJ2aXNpdG9yX2lkIjoiODczODAwMjgwNTMzNDE0MzU5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ddead0804ac0b5d6aabca7956f4c5d57c33ad31e7db54f1c8e18edd70280aece |
| hovercard-subject-tag | pull_request:280997031 |
| 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/13481/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_GetGlobalConfig() and _PyCoreConfig_GetGlobalConfig() now do nothing if the configuration was not initialized with _PyPreConfig_Init() and _PyCoreConfig_Init() Remove utf8_mode=-2 s... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 00d04d6b867d2f16ab50bebae8ccc56e07c8988b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width