Skip to content

gh-158192: expose the Future in FutureIter as fi_future - #158470

Open
msullivan wants to merge 1 commit into
python:mainfrom
msullivan:fut-expose
Open

msullivan wants to merge 1 commit into
python:mainfrom
msullivan:fut-expose

Conversation

@msullivan

@msullivan msullivan commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

I'd be happy to bikeshed about the name if anybody wants to, but the scheme kind of matches generators and similar.

For consistency, I made the Python implementation match, which required a wrapper class. I can drop that if it doesn't seem worth the hassle; the future can be introspected from the frame object of the generator already.

I'd be happy to bikeshed about the name if anybody wants to, but the
scheme kind of matches generators and similar.

For consistency, I made the Python implementation match, which
required a wrapper class. I can drop that if it doesn't seem worth the
hassle; the future can be introspected from the frame object of the
generator already.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant