[New-bugs-announce] [issue22906] PEP 479: Change StopIteration handling inside generators

Chris Angelico report at bugs.python.org
Thu Nov 20 11:43:23 CET 2014


New submission from Chris Angelico:

See PEP for full details. Attached is POC patch: behaviour is altered globally (rather than respecting a __future__ directive), and minimal changes are made elsewhere to make the test suite mostly pass (test_generators does not - it'll need more comprehensive edits). Note that PEP 8 is deliberately not followed here; some of the edits ought to involve indenting slabs of code, but instead, "half-level" indentation is used, to keep the patch visibly minimal.

----------
components: Interpreter Core, Library (Lib)
files: pep0479.patch
keywords: patch
messages: 231422
nosy: Rosuav
priority: normal
severity: normal
status: open
title: PEP 479: Change StopIteration handling inside generators
versions: Python 3.5
Added file: http://bugs.python.org/file37233/pep0479.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22906>
_______________________________________


More information about the New-bugs-announce mailing list