Title: [3.7] bpo-34247: Fix Python 3.7 initialization by vstinner · Pull Request #8659 · python/cpython · GitHub
Open Graph Title: [3.7] bpo-34247: Fix Python 3.7 initialization by vstinner · Pull Request #8659 · python/cpython
X Title: [3.7] bpo-34247: Fix Python 3.7 initialization by vstinner · Pull Request #8659 · python/cpython
Description: -X dev: it is now possible to override the memory allocator using PYTHONMALLOC even if the developer mode is enabled. Add _Py_InitializeFromConfig() Add _Py_Initialize_ReadEnvVars() to set global configuration variables from environment variables Fix the code to initialize Python: Py_Initialize() now also reads environment variables _Py_InitializeCore() can now be called repeatedly: the second and subsequent calls only replace the configuration, they don't recreate the main interpreter Write unit tests on Py_Initialize() and the different ways to configure Python The isolated mode now always sets Py_IgnoreEnvironmentFlag and Py_NoUserSiteDirectory to 1. pymain_read_conf() now saves/restores the configuration if the encoding changed https://bugs.python.org/issue34247
Open Graph Description: -X dev: it is now possible to override the memory allocator using PYTHONMALLOC even if the developer mode is enabled. Add _Py_InitializeFromConfig() Add _Py_Initialize_ReadEnvVars() to set global c...
X Description: -X dev: it is now possible to override the memory allocator using PYTHONMALLOC even if the developer mode is enabled. Add _Py_InitializeFromConfig() Add _Py_Initialize_ReadEnvVars() to set global c...
Opengraph URL: https://github.com/python/cpython/pull/8659
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:88a78565-946a-6310-c00b-8c317bdfe320 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D23C:346934:1C887A:25BB31:6A503A92 |
| html-safe-nonce | 6faa3132616fd0280317d9547d417286e189fbe965777baa978b9c6d3319d33e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjNDOjM0NjkzNDoxQzg4N0E6MjVCQjMxOjZBNTAzQTkyIiwidmlzaXRvcl9pZCI6IjQzMzczMjk3Nzg4Njc3MTg1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3f4a94bd2ee78a95294200aa57dae8e42c5270cdeff78d58bfae4780a9155b1a |
| hovercard-subject-tag | pull_request:206130550 |
| 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/8659/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 | -X dev: it is now possible to override the memory allocator using PYTHONMALLOC even if the developer mode is enabled. Add _Py_InitializeFromConfig() Add _Py_Initialize_ReadEnvVars() to set global c... |
| 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 | d90666eaf032b7eb8975a378efe38e37f4ebb96c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width