You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
evhub
changed the title
Allow explicit iterators and make generator_stop universal
Allow explicit generators and make generator_stop universal
Oct 28, 2021
evhub
changed the title
Allow explicit generators and make generator_stop universal
Add "yield def" explicit generator syntax
Oct 28, 2021
Should allow
yield def
to enforce that the function is a generator and support PEP 479 on all versions (not just those which supportfrom __future__ import generator_stop
, which is the current behavior).The text was updated successfully, but these errors were encountered: