Title: [C API] Deprecate private functions which have a public replacement · Issue #128863 · python/cpython · GitHub
Open Graph Title: [C API] Deprecate private functions which have a public replacement · Issue #128863 · python/cpython
X Title: [C API] Deprecate private functions which have a public replacement · Issue #128863 · python/cpython
Description: Hi, Python 3.13 and 3.14 added public functions to replace private functions. For example, a public function PyBytes_Join() was added to replace the private function _PyBytes_Join(). I propose to deprecate the private functions which hav...
Open Graph Description: Hi, Python 3.13 and 3.14 added public functions to replace private functions. For example, a public function PyBytes_Join() was added to replace the private function _PyBytes_Join(). I propose to d...
X Description: Hi, Python 3.13 and 3.14 added public functions to replace private functions. For example, a public function PyBytes_Join() was added to replace the private function _PyBytes_Join(). I propose to d...
Opengraph URL: https://github.com/python/cpython/issues/128863
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[C API] Deprecate private functions which have a public replacement","articleBody":"Hi,\n\nPython 3.13 and 3.14 added public functions to replace private functions. For example, a public function `PyBytes_Join()` was added to replace the private function `_PyBytes_Join()`.\n\nI propose to deprecate the private functions which have a public replacement, and remove them in Python 3.16.\n\nVictor\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-128864\n* gh-129176\n* gh-129212\n* gh-127939\n* gh-129245\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2025-01-15T10:37:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/128863/cpython/issues/128863"}
| 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:400822c6-4d6b-c77f-cf37-a0c02635b052 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E486:31006B:1BF12BE:251A2BE:696AFBF9 |
| html-safe-nonce | 9cb1aa569b78d8a9cdb3d37c3092df444ddf27c1220a0e02482c00abf94ea4e5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDg2OjMxMDA2QjoxQkYxMkJFOjI1MUEyQkU6Njk2QUZCRjkiLCJ2aXNpdG9yX2lkIjoiMzczNzA0MjQxNzQyODkyMTMzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 999b23ebcbdb7058dad2f8462beb5042c644cfe59fe98a2a7acb0eb74401900c |
| hovercard-subject-tag | issue:2789434169 |
| 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/128863/issue_layout |
| twitter:image | https://opengraph.githubassets.com/69621b8a409f467e1157df31a3a21aa4901318b15d4d0484d39544fe8a74919e/python/cpython/issues/128863 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/69621b8a409f467e1157df31a3a21aa4901318b15d4d0484d39544fe8a74919e/python/cpython/issues/128863 |
| og:image:alt | Hi, Python 3.13 and 3.14 added public functions to replace private functions. For example, a public function PyBytes_Join() was added to replace the private function _PyBytes_Join(). I propose to d... |
| 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 | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width