Skip to content

[3.10] bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194)#28199

Merged
pablogsal merged 1 commit into
python:3.10from
miss-islington:backport-2c3474a-3.10
Sep 7, 2021
Merged

[3.10] bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194)#28199
pablogsal merged 1 commit into
python:3.10from
miss-islington:backport-2c3474a-3.10

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington 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().

Co-authored-by: Pablo Galindo Salgado Pablogsal@gmail.com
(cherry picked from commit 2c3474a)

Co-authored-by: Yury Selivanov yury@edgedb.com

https://bugs.python.org/issue45123

@miss-islington
Copy link
Copy Markdown
Contributor Author

@1st1 and @pablogsal: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Copy Markdown
Contributor Author

@1st1 and @pablogsal: Status check is done, and it's a success ✅ .

pablogsal
pablogsal previously approved these changes Sep 7, 2021
@miss-islington
Copy link
Copy Markdown
Contributor Author

@1st1 and @pablogsal: Status check is done, and it's a success ❌ .

…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 <Pablogsal@gmail.com>
(cherry picked from commit 2c3474a)

Co-authored-by: Yury Selivanov <yury@edgedb.com>
@pablogsal pablogsal merged commit 53257cf into python:3.10 Sep 7, 2021
@miss-islington miss-islington deleted the backport-2c3474a-3.10 branch September 7, 2021 11:43
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.

5 participants