Skip to content

use PyIterReturn for gen internal #3183

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

Closed
wants to merge 2 commits into from

Conversation

youknowone
Copy link
Member

No description provided.

@youknowone youknowone marked this pull request as draft October 1, 2021 19:38
@youknowone youknowone force-pushed the iter-return branch 5 times, most recently from 7e39271 to f2f95fd Compare October 1, 2021 21:37
@youknowone youknowone marked this pull request as ready for review October 1, 2021 21:38
}
}
}

#[derive(Debug)]
pub struct Coro {
frame: FrameRef,
pub closed: AtomicCell<bool>,
pub closed: AtomicCell<bool>, // redudant?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If frame was made into an option closed could be removed. That's closer to what CPython does.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I replaced this comment to link to this comment

@DimitrisJim
Copy link
Member

merged #3185 first so other PRs that might come before this is merged won't get stuck on the failing tests.

@youknowone
Copy link
Member Author

merged by #3202

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