This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Enforce PEP 479—StopIteration and generators—in Python 3.7 by default
Type: enhancement Stage: resolved
Components: Interpreter Core Versions: Python 3.7
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: yselivanov Nosy List: gvanrossum, ncoghlan, ned.deily, yselivanov
Priority: release blocker Keywords: patch

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)
Date User Action Args
2022-04-11 14:58:57adminsetgithub: 76851
2018-01-26 20:24:59yselivanovsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-01-26 20:24:31yselivanovsetmessages: + msg310789
2018-01-25 22:04:38yselivanovsetkeywords: + patch
stage: patch review
pull_requests: + pull_request5172
2018-01-25 21:50:49yselivanovcreate