Make generator_stop universal
Open
compatibility
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
The idea is to support [PEP 479](https://www.python.org/dev/peps/pep-0479/) on all versions (not just those which support `from __future__ import generator_stop`, which is the current behavior).
Contributor guide
Research direction
Start by reading PEP 479 and tracing Coconut’s existing handling of `from __future__ import generator_stop`. Determine how generator_stop should behave on Python versions without that future feature, then verify the resulting generator behavior across the supported versions. Done means PEP 479 behavior is universal rather than conditional on future-import support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100