Issue 32670: Enforce PEP 479—StopIteration and generators—in Python 3.7 by default (original) (raw)

Issue32670

Created on 2018-01-25 21:50 by yselivanov, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 5327 merged yselivanov,2018-01-25 22:04
Messages (2)
msg310712 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2018-01-25 21:50
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.
msg310789 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2018-01-26 20:24
New changeset 43c47fe09640c579462978ec16f81295f5857cde by Yury Selivanov in branch 'master': bpo-32670: Enforce PEP 479. (#5327) https://github.com/python/cpython/commit/43c47fe09640c579462978ec16f81295f5857cde
History
Date User Action Args
2022-04-11 14:58:57 admin set github: 76851
2018-01-26 20:24:59 yselivanov set status: open -> closedresolution: fixedstage: patch review -> resolved
2018-01-26 20:24:31 yselivanov set messages: +
2018-01-25 22:04:38 yselivanov set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest5172>
2018-01-25 21:50:49 yselivanov create