Title: C API: Remove deprecate PyEval_CallObject() function · Issue #105107 · python/cpython · GitHub
Open Graph Title: C API: Remove deprecate PyEval_CallObject() function · Issue #105107 · python/cpython
X Title: C API: Remove deprecate PyEval_CallObject() function · Issue #105107 · python/cpython
Description: The Python C API has many functions to call a function or a method: https://docs.python.org/dev/c-api/call.html The PyEval variants were deprecated in Python 3.9. I propose to now remove them: PyEval_CallObject() PyEval_CallObjectWithKey...
Open Graph Description: The Python C API has many functions to call a function or a method: https://docs.python.org/dev/c-api/call.html The PyEval variants were deprecated in Python 3.9. I propose to now remove them: PyEv...
X Description: The Python C API has many functions to call a function or a method: https://docs.python.org/dev/c-api/call.html The PyEval variants were deprecated in Python 3.9. I propose to now remove them: PyEv...
Opengraph URL: https://github.com/python/cpython/issues/105107
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"C API: Remove deprecate PyEval_CallObject() function","articleBody":"The Python C API has many functions to call a function or a method: https://docs.python.org/dev/c-api/call.html\r\n\r\nThe **PyEval** variants were [deprecated in Python 3.9](https://github.com/python/cpython/issues/73734). I propose to now remove them:\r\n\r\n* ``PyEval_CallObject()``\r\n* ``PyEval_CallObjectWithKeywords()``\r\n* ``PyEval_CallFunction()``\r\n* ``PyEval_CallMethod()``\r\n\r\nThere are replacement functions like PyObject_Call() and PyObject_CallFunction() which exist since Python 3.0 at least and so is backward compatible.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-105108\n* gh-105181\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2023-05-30T17:10:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/105107/cpython/issues/105107"}
| 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:e38ea18f-63d4-46a8-fb71-d0709e48f137 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B01E:378262:21C8797:2C78CC6:696B54FD |
| html-safe-nonce | 29a0da737bee68d683c85248ea62fc234e9c392f29ce440138434003921a2f89 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDFFOjM3ODI2MjoyMUM4Nzk3OjJDNzhDQzY6Njk2QjU0RkQiLCJ2aXNpdG9yX2lkIjoiNDMyMTkzMjQwODEyMjk4Nzc3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d6e8e35c0183e05c1bbabdf9c2d355e0395ba22cb2a19aa45e9174688f2576bc |
| hovercard-subject-tag | issue:1732657923 |
| 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/105107/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1a7610a5c913da23fe8e9cd93dd808c278638ec67dd48020760724f6164502f6/python/cpython/issues/105107 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1a7610a5c913da23fe8e9cd93dd808c278638ec67dd48020760724f6164502f6/python/cpython/issues/105107 |
| og:image:alt | The Python C API has many functions to call a function or a method: https://docs.python.org/dev/c-api/call.html The PyEval variants were deprecated in Python 3.9. I propose to now remove them: PyEv... |
| 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