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 <rep...@bugs.python.org> <http://bugs.python.org/issue22906> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com