➜

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.

作者 ncoghlan
收信人 asvetlov, gvanrossum, ncoghlan, scoder, vstinner, yselivanov
日期 2015-05-12.00:16:52
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1431389814.26.0.484282122305.issue24017@psf.upfronthosting.co.za>
In-reply-to
内容
Guido convinced me that having StopAsyncIteration inherit from Exception was the right approach, as it means errors are more likely to be of the "we caught it when we shouldn't have" variety, rather than the harder to debug "an exception escaped when it shouldn't have" variety. This isn't like SystemExit, KeyboardInterrupt or GeneratorExit where they're specifically designed to reliably terminate a thread of execution.

That means I can offer an unreserved +1 on the current patch (#6) for beta 1 :)
历史
日期 用户 动作 参数
2015-05-12 00:16:54ncoghlan修改recipients: + ncoghlan, gvanrossum, scoder, vstinner, asvetlov, yselivanov
2015-05-12 00:16:54ncoghlan修改messageid: <1431389814.26.0.484282122305.issue24017@psf.upfronthosting.co.za>
2015-05-12 00:16:54ncoghlan链接issue24017 messages
2015-05-12 00:16:52ncoghlan创建