Skip to content

Conversation

@1st1
Copy link
Member

@1st1 1st1 commented Sep 7, 2021

Fix PyAiter_Check to only check for the __anext__ presense (not for
__aiter__). Rename PyAiter_Check() to PyAIter_Check(),
PyObject_GetAiter() -> PyObject_GetAIter().

https://bugs.python.org/issue45123

Automerge-Triggered-By: GH:pablogsal

Fix PyAiter_Check to only check for the `__anext__` presense (not for
`__aiter__`). Rename `PyAiter_Check()` to `PyAIter_Check()`,
`PyObject_GetAiter()` -> `PyObject_GetAIter()`.
@pablogsal pablogsal merged commit 2c3474a into python:main Sep 7, 2021
@miss-islington
Copy link
Contributor

Thanks @1st1 for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Sep 7, 2021
@bedevere-bot
Copy link

GH-28199 is a backport of this pull request to the 3.10 branch.

pablogsal pushed a commit to miss-islington/cpython that referenced this pull request Sep 7, 2021
…H-28194)

Fix PyAiter_Check to only check for the `__anext__` presense (not for
`__aiter__`). Rename `PyAiter_Check()` to `PyAIter_Check()`,
`PyObject_GetAiter()` -> `PyObject_GetAIter()`.

Co-authored-by: Pablo Galindo Salgado <[email protected]>
(cherry picked from commit 2c3474a)

Co-authored-by: Yury Selivanov <[email protected]>
pablogsal pushed a commit that referenced this pull request Sep 7, 2021
… (GH-28199)

Fix PyAiter_Check to only check for the `__anext__` presense (not for
`__aiter__`). Rename `PyAiter_Check()` to `PyAIter_Check()`,
`PyObject_GetAiter()` -> `PyObject_GetAIter()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants