Skip to content

async iterators - #442

Draft
tonybaloney wants to merge 17 commits into
mainfrom
aiter
Draft

async iterators#442
tonybaloney wants to merge 17 commits into
mainfrom
aiter

Conversation

@tonybaloney

@tonybaloney tonybaloney commented Apr 30, 2025

Copy link
Copy Markdown
Owner

Implements #440

typing.AsyncIterator[T] Python objects can be cast to IAsyncEnumerator<T>

Comment thread src/CSnakes.Runtime/Python/PyObject.cs Outdated
@atifaziz

atifaziz commented May 2, 2025

Copy link
Copy Markdown
Collaborator

@tonybaloney Looks like PyObject_GetAIter was only added in 3.10 so all test runs using 3.9 are failing. May need to call __aiter__ directly in that case.

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.

2 participants