Title: Make PyCode_GetFirstFree a PEP-689 unstable API · Issue #115756 · python/cpython · GitHub
Open Graph Title: Make PyCode_GetFirstFree a PEP-689 unstable API · Issue #115756 · python/cpython
X Title: Make PyCode_GetFirstFree a PEP-689 unstable API · Issue #115756 · python/cpython
Description: It was and it wasn't. We don't really want to expose it, but if we don't then Cython and other C extensions will access the internal fields directly, which is worse. Now that we have an unstable API, it should probably be part of that. I...
Open Graph Description: It was and it wasn't. We don't really want to expose it, but if we don't then Cython and other C extensions will access the internal fields directly, which is worse. Now that we have an unstable AP...
X Description: It was and it wasn't. We don't really want to expose it, but if we don't then Cython and other C extensions will access the internal fields directly, which is worse. Now that we have an...
Opengraph URL: https://github.com/python/cpython/issues/115756
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make PyCode_GetFirstFree a PEP-689 unstable API","articleBody":"\u003e It was and it wasn't. We don't really want to expose it, but if we don't then Cython and other C extensions will access the internal fields directly, which is worse.\r\n\u003e\r\n\u003e Now that we have an unstable API, it should probably be part of that.\r\nI'd like all code object C APIs to be unstable, but it's probably too late for that.\r\n\u003e\r\n\u003e Maybe rename it to `PyUnstableCode_GetFirstFree`?\r\n\r\n_Originally posted by @markshannon in https://github.com/python/cpython/pull/115654#discussion_r1497192136_\r\n \n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-115781\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/erlend-aasland","@type":"Person","name":"erlend-aasland"},"datePublished":"2024-02-21T10:17:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/115756/cpython/issues/115756"}
| 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:d3d84c79-d824-45df-33a7-c95f915d5cfb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A00:22391C:18E886A:20A3E3D:696B8BD6 |
| html-safe-nonce | 5267d3003299003a37e1f5c7c5966ca76cea22162d8fbd41a3e0f02506f7b21b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTAwOjIyMzkxQzoxOEU4ODZBOjIwQTNFM0Q6Njk2QjhCRDYiLCJ2aXNpdG9yX2lkIjoiNjU4ODU0NjcyMjM5MTM1NzAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1d3865914aae55279b07b0afb86a72c2586b349e18864ca03bb651ce47177757 |
| hovercard-subject-tag | issue:2146357937 |
| 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/115756/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b500fde523e0e09fa578b793a9e5193d3a53288876b1910ae7da4f6bb75c42d7/python/cpython/issues/115756 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b500fde523e0e09fa578b793a9e5193d3a53288876b1910ae7da4f6bb75c42d7/python/cpython/issues/115756 |
| og:image:alt | It was and it wasn't. We don't really want to expose it, but if we don't then Cython and other C extensions will access the internal fields directly, which is worse. Now that we have an unstable AP... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | erlend-aasland |
| 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