Skip to content
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

Add "yield def" explicit generator syntax #421

Closed
evhub opened this issue Apr 5, 2018 · 1 comment
Closed

Add "yield def" explicit generator syntax #421

evhub opened this issue Apr 5, 2018 · 1 comment

Comments

@evhub
Copy link
Owner

evhub commented Apr 5, 2018

Should allow yield def to enforce that the function is a generator and support PEP 479 on all versions (not just those which support from __future__ import generator_stop, which is the current behavior).

@evhub evhub modified the milestones: v1.3.2, v1.4.0 Apr 5, 2018
@evhub evhub modified the milestones: v1.5.0, v1.5.1 Mar 5, 2021
@evhub evhub removed the bounty: $40 label May 30, 2021
@evhub evhub changed the title Allow explicit iterators and make generator_stop universal Allow explicit generators and make generator_stop universal Oct 28, 2021
@evhub evhub changed the title Allow explicit generators and make generator_stop universal Add "yield def" explicit generator syntax Oct 28, 2021
@evhub
Copy link
Owner Author

evhub commented Oct 28, 2021

generator_stop universalization moved to #606.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant