for what are for/while else clauses

Michele Simionato mis6 at pitt.edu
Sat Nov 15 08:21:38 CET 2003


I personally consider the "else" clause a wart of Python.
I never remember exactly what it is doing, and I have to look at the
manual each time; moreover I don't see it giving any significant advantage
to the language (other languages live very well without). So, I would be 
happy to have it removed, even if I am sure it will never happen :-(
Am I the only one who think so?

                Michele




More information about the Python-list mailing list