Title: [C API] Deprecate Global Configuration Variables like Py_IgnoreEnvironment · Issue #93103 · python/cpython · GitHub
Open Graph Title: [C API] Deprecate Global Configuration Variables like Py_IgnoreEnvironment · Issue #93103 · python/cpython
X Title: [C API] Deprecate Global Configuration Variables like Py_IgnoreEnvironment · Issue #93103 · python/cpython
Description: PEP 587 "Python Initialization Configuration" got implemented in Python 3.8: https://peps.python.org/pep-0587/ It adds a new PyConfig API which is more complete and reliable than the legacy API to initialize Python: Py_Initialize() with ...
Open Graph Description: PEP 587 "Python Initialization Configuration" got implemented in Python 3.8: https://peps.python.org/pep-0587/ It adds a new PyConfig API which is more complete and reliable than the legacy API to ...
X Description: PEP 587 "Python Initialization Configuration" got implemented in Python 3.8: https://peps.python.org/pep-0587/ It adds a new PyConfig API which is more complete and reliable than the lega...
Opengraph URL: https://github.com/python/cpython/issues/93103
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[C API] Deprecate Global Configuration Variables like Py_IgnoreEnvironment","articleBody":"PEP 587 \"Python Initialization Configuration\" got implemented in Python 3.8: https://peps.python.org/pep-0587/ It adds a new PyConfig API which is more complete and reliable than the legacy API to initialize Python: Py_Initialize() with a scattered collection of global variables and some \"Set\" functions like Py_SetPath().\r\n\r\nIn Python 3.11, I deprecated functions like Py_SetPath() and Py_SetStandardStreamEncoding(): https://docs.python.org/dev/c-api/init.html#c.Py_SetPath\r\n\r\nI now propose to deprecate global configuration variables like Py_IgnoreEnvironment: PyConfig members should be used instead.\r\n\r\n**PR:** https://github.com/python/cpython/pull/93943 merged as commit 0ff626f210c69643d0d5afad1e6ec6511272b3ce\r\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2022-05-23T11:30:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/93103/cpython/issues/93103"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1fdf0d7f-274b-d8b6-1687-37cf0f010d34 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B4F8:26E310:7A5204:A6D311:6969DBB4 |
| html-safe-nonce | aef009805cf998d63a9adcc4a769a04086d5bcfab3d92bce25eb792ed3c9fde8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEY4OjI2RTMxMDo3QTUyMDQ6QTZEMzExOjY5NjlEQkI0IiwidmlzaXRvcl9pZCI6IjcwMjg5ODAwNTQ4OTY1MzI0MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 636ce32b44fb17b7f35067d634b8843fe449acbf2585c4d42550c7bc68409915 |
| hovercard-subject-tag | issue:1245022562 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/93103/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47c279b7bc3a9f883ab13278069d860b0edc09076d082f2d32ca69aad21ee249/python/cpython/issues/93103 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47c279b7bc3a9f883ab13278069d860b0edc09076d082f2d32ca69aad21ee249/python/cpython/issues/93103 |
| og:image:alt | PEP 587 "Python Initialization Configuration" got implemented in Python 3.8: https://peps.python.org/pep-0587/ It adds a new PyConfig API which is more complete and reliable than the legacy API to ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width