Title: Add vector call functions to the limited API · Issue #98586 · python/cpython · GitHub
Open Graph Title: Add vector call functions to the limited API · Issue #98586 · python/cpython
X Title: Add vector call functions to the limited API · Issue #98586 · python/cpython
Description: Feature or enhancement Starting in Python 3.12, it is possible to receive vector calls in the limited API. However, it is not possible to issue them from a binary extension module compiled for the limited API. Pitch Since the PEP-590 is ...
Open Graph Description: Feature or enhancement Starting in Python 3.12, it is possible to receive vector calls in the limited API. However, it is not possible to issue them from a binary extension module compiled for the ...
X Description: Feature or enhancement Starting in Python 3.12, it is possible to receive vector calls in the limited API. However, it is not possible to issue them from a binary extension module compiled for the ...
Opengraph URL: https://github.com/python/cpython/issues/98586
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add vector call functions to the limited API","articleBody":"# Feature or enhancement\r\n\r\nStarting in Python 3.12, it is possible to _receive_ vector calls in the limited API. However, it is not possible to _issue_ them from a binary extension module compiled for the limited API.\r\n\r\n# Pitch\r\n\r\nSince the PEP-590 is presumably stable at this point, I propose exposing more of it through the limited API. This would entail the functions\r\n\r\n- `PyObject_Vectorcall`\r\n- `PyObject_VectorcallMethod`\r\n- `PyObject_VectorcallDict`\r\n- `PY_VECTORCALL_ARGUMENTS_OFFSET` (a macro constant that is needed to use these effectively)\r\n\r\n# Previous discussion\r\n\r\nSome related discussion took place here: https://discuss.python.org/t/ideas-for-forward-compatible-and-fast-extension-libraries-in-python-3-12. This PR Is specifically about item #5 from the list in the first post.\r\n\n\n\u003c!-- gh-pr-number: gh-99056 --\u003e\n* PR: gh-99056\n\u003c!-- /gh-pr-number --\u003e\n","author":{"url":"https://github.com/wjakob","@type":"Person","name":"wjakob"},"datePublished":"2022-10-24T08:29:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/98586/cpython/issues/98586"}
| 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:95dbffed-cda0-68fa-1728-8c15c33ac2b8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C480:37C592:156E8F2:1CA9ABC:6969A699 |
| html-safe-nonce | 903068fca5deb08668947baa1e6a7685e1ab04512a2f2eb816393d5039bf3b1c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDgwOjM3QzU5MjoxNTZFOEYyOjFDQTlBQkM6Njk2OUE2OTkiLCJ2aXNpdG9yX2lkIjoiNjA2MjQ5MDMyODg1MTEzMDAwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6eb739e5c902c5e6887a98373efaf73de13987c978fd5bd4d64ae4ea88d940e7 |
| hovercard-subject-tag | issue:1420438396 |
| 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/98586/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2164ffe2f82b762fd4d58965a2ab632cb39f85caad4f0a26f39ec65a2ee43d95/python/cpython/issues/98586 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2164ffe2f82b762fd4d58965a2ab632cb39f85caad4f0a26f39ec65a2ee43d95/python/cpython/issues/98586 |
| og:image:alt | Feature or enhancement Starting in Python 3.12, it is possible to receive vector calls in the limited API. However, it is not possible to issue them from a binary extension module compiled for the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wjakob |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| 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 | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width