[Python-ideas] for/else syntax

Yuvgoog Greenle ubershmekel at gmail.com
Fri Oct 2 14:54:57 CEST 2009


I think I understand what you're saying and I just don't understand how it
pertains to for..else. Specifically I would like an explanation about why
the following quote is nonsense to you.

2009/10/2 Stephen J. Turnbull <stephen at xemacs.org>

Yuvgoog Greenle writes:
>
>  > 1. Not allowing a for loop that has no "break" to have an "else". Just
> like
>  > "else" isn't allowed when there isn't an "except" in the "try". There
> really
>  > is no excuse, justification or sense in a "for" loop that has no "break"
> yet
>  > has an "else".
>
> +1.  File an RFE against PyLint for sure, and against Python too.
> That's a *great* idea!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20091002/84971f96/attachment.html>


More information about the Python-ideas mailing list