Author ncoghlan
Recipients asvetlov, gvanrossum, ncoghlan, scoder, vstinner, yselivanov
Date 2015-05-12.00:16:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431389814.26.0.484282122305.issue24017@psf.upfronthosting.co.za>
In-reply-to
Content
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 :)
History
Date User Action Args
2015-05-12 00:16:54ncoghlansetrecipients: + ncoghlan, gvanrossum, scoder, vstinner, asvetlov, yselivanov
2015-05-12 00:16:54ncoghlansetmessageid: <1431389814.26.0.484282122305.issue24017@psf.upfronthosting.co.za>
2015-05-12 00:16:54ncoghlanlinkissue24017 messages
2015-05-12 00:16:52ncoghlancreate