[Python-ideas] Change how Generator Expressions handle StopIteration

Juancarlo Añez apalala at gmail.com
Thu Nov 6 01:35:56 CET 2014


On Wed, Nov 5, 2014 at 5:17 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> And having said that... what if we introduced UnexpectedStopIteration but
> initially made it a subclass of StopIteration?


Exactly!


-- 
Juancarlo *Añez*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20141105/8733c1a6/attachment.html>


More information about the Python-ideas mailing list