[Python-ideas] SyntaxWarning for for/while/else without break or return?

Guido van Rossum guido at python.org
Sun Oct 11 20:00:52 CEST 2009

On Sat, Oct 10, 2009 at 9:36 PM, Stephen J. Turnbull <stephen at xemacs.org> wrote:
> We're talking about a single construct that the BDFL
> has deigned to deprecate as an unfortunate choice of keywords.

Wrong. I would not have the feature at all if I had to do it over. I
would *not* choose another keyword. But I don't see the same level of
danger in it that some here see.

I am also against adding a syntax warning for this. It belongs in pylint etc.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-ideas mailing list