Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue32670

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Enforce PEP 479—StopIteration and generators—in Python 3.7 by default
Type:enhancementStage:resolved
Components:Interpreter CoreVersions:Python 3.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: yselivanovNosy List: gvanrossum, ncoghlan, ned.deily, yselivanov
Priority:release blockerKeywords:patch

Created on2018-01-25 21:50 byyselivanov, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 5327mergedyselivanov,2018-01-25 22:04
Messages (2)
msg310712 -(view)Author: Yury Selivanov (yselivanov)*(Python committer)Date: 2018-01-25 21:50
As perPEP 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 changeset43c47fe09640c579462978ec16f81295f5857cde by Yury Selivanov in branch 'master':bpo-32670: EnforcePEP 479. (#5327)https://github.com/python/cpython/commit/43c47fe09640c579462978ec16f81295f5857cde
History
DateUserActionArgs
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
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp