[Python-ideas] for/else statements considered harmful

Devin Jeanpierre jeanpierreda at gmail.com
Thu Jun 7 09:57:35 CEST 2012


On Thu, Jun 7, 2012 at 3:23 AM, Yuval Greenfield <ubershmekel at gmail.com> wrote:
> Personally I'd prefer "if not break:" over "else:" but as we're stuck where
> we are today I'm just going to encourage people not to use the construct at
> all.

Why shouldn't people use for-else?

-- Devin



More information about the Python-ideas mailing list