Title: PEP 479 – Change StopIteration handling inside generators | peps.python.org
Open Graph Title: PEP 479 – Change StopIteration handling inside generators | peps.python.org
Description: This PEP proposes a change to generators: when StopIteration is raised inside a generator, it is replaced with RuntimeError. (More precisely, this happens when the exception is about to bubble out of the generator’s stack frame.) Because the change is ...
Open Graph Description: This PEP proposes a change to generators: when StopIteration is raised inside a generator, it is replaced with RuntimeError. (More precisely, this happens when the exception is about to bubble out of the generator’s stack frame.) Because the change is ...
Opengraph URL: https://peps.python.org/pep-0479/
Domain: peps.python.org
| color-scheme | light dark |
| og:type | website |
| og:site_name | Python Enhancement Proposals (PEPs) |
| og:image | https://peps.python.org/_static/og-image.png |
| og:image:alt | Python PEPs |
| og:image:width | 200 |
| og:image:height | 200 |
| theme-color | #3776ab |
Links:
Viewport: width=device-width, initial-scale=1.0