Title: Remove deprecated C API objects slated for removal in 3.15 · Issue #133644 · python/cpython · GitHub
Open Graph Title: Remove deprecated C API objects slated for removal in 3.15 · Issue #133644 · python/cpython
X Title: Remove deprecated C API objects slated for removal in 3.15 · Issue #133644 · python/cpython
Description: Proposal: This issue serves as a tracker for removing the following parts of the C API: Global configuration variables: #133654 Process-wide parameters: #133661 PyImport_ImportModuleNoBlock: #133655 PyWeakref_GetObject and PyWeakref_GET_...
Open Graph Description: Proposal: This issue serves as a tracker for removing the following parts of the C API: Global configuration variables: #133654 Process-wide parameters: #133661 PyImport_ImportModuleNoBlock: #13365...
X Description: Proposal: This issue serves as a tracker for removing the following parts of the C API: Global configuration variables: #133654 Process-wide parameters: #133661 PyImport_ImportModuleNoBlock: #13365...
Opengraph URL: https://github.com/python/cpython/issues/133644
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove deprecated C API objects slated for removal in 3.15","articleBody":"### Proposal:\n\nThis issue serves as a tracker for removing the following parts of the C API:\n\n- [ ] Global configuration variables: [#133654](https://github.com/python/cpython/pull/133654)\n- [x] Process-wide parameters: [#133661](https://github.com/python/cpython/pull/133661)\n- [x] `PyImport_ImportModuleNoBlock`: [#133655](https://github.com/python/cpython/pull/133655)\n- [x] `PyWeakref_GetObject` and `PyWeakref_GET_OBJECT`: [#133657](https://github.com/python/cpython/pull/133657)\n- [ ] Functions to configure Python's initialization (`PySys_Set*` \u0026 co)\n- [ ] `Py_UNICODE_WIDE` and `Py_UNICODE` type\n\nTracked separately:\n\n- [x] ~~vendored copy of `libmpdecimal`: [#115119](https://github.com/python/cpython/issues/115119).~~ (deferred to Python 3.16)\n- [x] `PyUnicode_As{Encoded,Decoded}{Object,Unicode}`: [#133610](https://github.com/python/cpython/issues/133610) cc @StanFromIreland \n- [x] `PySys_ResetWarnOptions` https://github.com/python/cpython/issues/138886 cc @sobolevn \n\nI'll take care of doing the other deprecation removals and update `c-api-pending-removal-in-3-15`. \n\n### Has this already been discussed elsewhere?\n\nThis is a minor feature, which does not need previous discussion elsewhere\n\n### Links to previous discussion of this feature:\n\n_No response_\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-133654\n* gh-133655\n* gh-133657\n* gh-133661\n* gh-133665\n* gh-133749\n* gh-133751\n* gh-133752\n* gh-136277\n* gh-138887\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/picnixz","@type":"Person","name":"picnixz"},"datePublished":"2025-05-08T07:27:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/133644/cpython/issues/133644"}
| 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:970065fd-ef55-e11f-1e5e-016c72bf62eb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B136:15E3B:2FD4C91:412E280:6A53DFAA |
| html-safe-nonce | cfeb72c810642a0e429665a53810d09640bfdd11440412a4fe66325e79810afe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTM2OjE1RTNCOjJGRDRDOTE6NDEyRTI4MDo2QTUzREZBQSIsInZpc2l0b3JfaWQiOiI0Mjg5MjAwMzg5MzYwOTY3NTk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2f04ac567907d81de08a3fb31172f3566b1fbf07ea609925614e9371cfdb9342 |
| hovercard-subject-tag | issue:3048076191 |
| 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/133644/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c6f6bb86ab7e9ac88507daeafabcc322a4988a80aefc31069ffbb8b4771ca70b/python/cpython/issues/133644 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c6f6bb86ab7e9ac88507daeafabcc322a4988a80aefc31069ffbb8b4771ca70b/python/cpython/issues/133644 |
| og:image:alt | Proposal: This issue serves as a tracker for removing the following parts of the C API: Global configuration variables: #133654 Process-wide parameters: #133661 PyImport_ImportModuleNoBlock: #13365... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | picnixz |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width