Title: `anextawaitable_close()` should be a `METH_NOARGS` not `METH_VARARGS` · Issue #131666 · python/cpython · GitHub
Open Graph Title: `anextawaitable_close()` should be a `METH_NOARGS` not `METH_VARARGS` · Issue #131666 · python/cpython
X Title: `anextawaitable_close()` should be a `METH_NOARGS` not `METH_VARARGS` · Issue #131666 · python/cpython
Description: Bug report Bug description: See #131609 (comment). We can backport it because a TypeError is already raised (it's not raised by anext_awaitable.close, but rather by coroutine_wrapper). CPython versions tested on: CPython main branch Oper...
Open Graph Description: Bug report Bug description: See #131609 (comment). We can backport it because a TypeError is already raised (it's not raised by anext_awaitable.close, but rather by coroutine_wrapper). CPython vers...
X Description: Bug report Bug description: See #131609 (comment). We can backport it because a TypeError is already raised (it's not raised by anext_awaitable.close, but rather by coroutine_wrapper). CPython ...
Opengraph URL: https://github.com/python/cpython/issues/131666
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`anextawaitable_close()` should be a `METH_NOARGS` not `METH_VARARGS`","articleBody":"# Bug report\n\n### Bug description:\n\nSee https://github.com/python/cpython/pull/131609#discussion_r2009832215.\n\nWe can backport it because a TypeError is already raised (it's not raised by `anext_awaitable.close`, but rather by `coroutine_wrapper`).\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\n_No response_\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-131671\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/picnixz","@type":"Person","name":"picnixz"},"datePublished":"2025-03-24T13:25:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/131666/cpython/issues/131666"}
| 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:6644927e-24cb-6fc0-ea58-fca2016ed6d7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 87E2:64491:24E7784:328461A:696AC5C1 |
| html-safe-nonce | 6c2c29709807b56d72e2ecf1602805b1a11aac3d848a3c160f92ae46bdc1694b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0UyOjY0NDkxOjI0RTc3ODQ6MzI4NDYxQTo2OTZBQzVDMSIsInZpc2l0b3JfaWQiOiI2Mzg3OTc3MzM4NjgyNTI1MTIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 99c38f81d2363682cfc12cc72313f3357cae937279299c3c0a69c3b9ef6db44f |
| hovercard-subject-tag | issue:2943262423 |
| 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/131666/issue_layout |
| twitter:image | https://opengraph.githubassets.com/abc71bc6d6804b89042eb9bc24f0db4f4712693a0f9041c189d5642d87972e82/python/cpython/issues/131666 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/abc71bc6d6804b89042eb9bc24f0db4f4712693a0f9041c189d5642d87972e82/python/cpython/issues/131666 |
| og:image:alt | Bug report Bug description: See #131609 (comment). We can backport it because a TypeError is already raised (it's not raised by anext_awaitable.close, but rather by coroutine_wrapper). CPython vers... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | picnixz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 986b6a1d774985095564e64d6963d11f094da3d0e2bfda2ab1a27d63662eb033 |
| 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 | 89ad2112b9c4e11df6a0c13c8c1f8eedd36b0977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width