Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anextawaitable_close() should be a METH_NOARGS not METH_VARARGS #131666

Closed
picnixz opened this issue Mar 24, 2025 · 0 comments
Closed

anextawaitable_close() should be a METH_NOARGS not METH_VARARGS #131666

picnixz opened this issue Mar 24, 2025 · 0 comments
Assignees
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error

Comments

@picnixz
Copy link
Member

picnixz commented Mar 24, 2025

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

Operating systems tested on:

No response

Linked PRs

@picnixz picnixz added interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error labels Mar 24, 2025
@picnixz picnixz self-assigned this Mar 24, 2025
kumaraditya303 pushed a commit that referenced this issue Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants