Title: Port 23-argument `_posixsubprocess.fork_exec` to Argument Clinic · Issue #94518 · python/cpython · GitHub
Open Graph Title: Port 23-argument `_posixsubprocess.fork_exec` to Argument Clinic · Issue #94518 · python/cpython
X Title: Port 23-argument `_posixsubprocess.fork_exec` to Argument Clinic · Issue #94518 · python/cpython
Description: Currently the function is parsed with the following behemoth: if (!PyArg_ParseTuple( args, "OOpO!OOiiiiiiiiii" _Py_PARSE_PID "OOOiOp:fork_exec", &process_args, &executable_list, &close_fds, &PyTuple_Type, &py_fds_to_keep, &cwd_obj, &env_...
Open Graph Description: Currently the function is parsed with the following behemoth: if (!PyArg_ParseTuple( args, "OOpO!OOiiiiiiiiii" _Py_PARSE_PID "OOOiOp:fork_exec", &process_args, &executable_list, &close_fds, &PyTupl...
X Description: Currently the function is parsed with the following behemoth: if (!PyArg_ParseTuple( args, "OOpO!OOiiiiiiiiii" _Py_PARSE_PID "OOOiOp:fork_exec", &process_args, &executab...
Opengraph URL: https://github.com/python/cpython/issues/94518
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Port 23-argument `_posixsubprocess.fork_exec` to Argument Clinic","articleBody":"Currently the function is parsed with [the following behemoth](https://github.com/python/cpython/blob/main/Modules/_posixsubprocess.c#L816-L826):\r\n\r\n```cpp\r\nif (!PyArg_ParseTuple(\r\n args, \"OOpO!OOiiiiiiiiii\" _Py_PARSE_PID \"OOOiOp:fork_exec\",\r\n \u0026process_args, \u0026executable_list,\r\n \u0026close_fds, \u0026PyTuple_Type, \u0026py_fds_to_keep,\r\n \u0026cwd_obj, \u0026env_list,\r\n \u0026p2cread, \u0026p2cwrite, \u0026c2pread, \u0026c2pwrite,\r\n \u0026errread, \u0026errwrite, \u0026errpipe_read, \u0026errpipe_write,\r\n \u0026restore_signals, \u0026call_setsid, \u0026pgid_to_set,\r\n \u0026gid_object, \u0026groups_list, \u0026uid_object, \u0026child_umask,\r\n \u0026preexec_fn, \u0026allow_vfork))\r\n return NULL;\r\n```\r\n\r\nConversion will:\r\n\r\n- hide *this* from a realm of manual and error-prone labor into a precise and checked world of automation\r\n- allow to use faster methods like `METH_FASTCALL`+`_PyArg_CheckPositional`.\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-94687\r\n* gh-94519\r\n* gh-101054\r\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/arhadthedev","@type":"Person","name":"arhadthedev"},"datePublished":"2022-07-02T22:58:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/94518/cpython/issues/94518"}
| 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:013668a0-29df-3eb6-4695-d6f9d793bd49 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB3A:1D5ACA:235ADA:2EB031:69697911 |
| html-safe-nonce | 6fcf97fec063bd522373a2f0fc1c841dc4b90dff2440276e00d0cd959d488955 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjNBOjFENUFDQToyMzVBREE6MkVCMDMxOjY5Njk3OTExIiwidmlzaXRvcl9pZCI6Ijg2OTY0ODE0NjIzODgwOTUyNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 759ac486b692429abe1c05046b370003a2d258748a7a61b9cdec54b9344fdd46 |
| hovercard-subject-tag | issue:1292158850 |
| 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/94518/issue_layout |
| twitter:image | https://opengraph.githubassets.com/622ef6cbe0da0b4517023adcc29140520d479298d05d66651575393420695dfc/python/cpython/issues/94518 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/622ef6cbe0da0b4517023adcc29140520d479298d05d66651575393420695dfc/python/cpython/issues/94518 |
| og:image:alt | Currently the function is parsed with the following behemoth: if (!PyArg_ParseTuple( args, "OOpO!OOiiiiiiiiii" _Py_PARSE_PID "OOOiOp:fork_exec", &process_args, &executable_list, &close_fds, &PyTupl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arhadthedev |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| 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 | 212e3e3d3298bf5b313830edfd2399e869f7ea76 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width