[New-bugs-announce] [issue32670] Enforce PEP 479—StopIteration and generators—in Python 3.7 by default

Yury Selivanov report at bugs.python.org
Thu Jan 25 16:50:49 EST 2018


New submission from Yury Selivanov <yselivanov at gmail.com>:

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, ncoghlan, ned.deily, yselivanov
priority: release blocker
severity: normal
status: open
title: Enforce PEP 479—StopIteration and generators—in Python 3.7 by default
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32670>
_______________________________________


More information about the New-bugs-announce mailing list