[issue32670] Enforce PEP 479—StopIteration and generators—in Python 3.7 by default

2018-01-26 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32670] Enforce PEP 479—StopIteration and generators—in Python 3.7 by default

2018-01-26 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 43c47fe09640c579462978ec16f81295f5857cde by Yury Selivanov in branch 'master': bpo-32670: Enforce PEP 479. (#5327) https://github.com/python/cpython/commit/43c47fe09640c579462978ec16f81295f5857cde -- ___

[issue32670] Enforce PEP 479—StopIteration and generators—in Python 3.7 by default

2018-01-25 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +5172 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue32670] Enforce PEP 479—StopIteration and generators—in Python 3.7 by default

2018-01-25 Thread Yury Selivanov
New submission from Yury Selivanov : As per PEP 479, in Python 3.7 it should be a RuntimeError when a StopIteration exception is raised manually in a generator, a coroutine, or an async generator. -- assignee: yselivanov components: Interpreter Core messages: 310712 nosy: gvanrossum, nc