[Python-ideas] Change how Generator Expressions handle StopIteration

Chris Angelico rosuav at gmail.com
Fri Nov 7 14:04:04 CET 2014


On Fri, Nov 7, 2014 at 11:57 PM, Juancarlo Añez <apalala at gmail.com> wrote:
> It is not in the Zen of Python to leave it as is just because some existing
> code may be relying on the odd behavior.

Actually, it is. Practicality beats purity. :)

ChrisA


More information about the Python-ideas mailing list