[Python-3000] else-clause on for-loops

Anthony Baxter anthony at interlink.com.au
Mon Mar 27 07:05:24 CEST 2006


On Friday 24 March 2006 12:57, Steven Bethard wrote:
> There was talk previously_ about removing the else clause on
> for-loops (and while-loops).  One possibility would be to change
> the else-clause to behave as expected above (i.e. only executed
> when the loop fails to iterate over any items).

Ok, I could see _maybe_ removing the current code, but for the love of 
whatever gods you worship, please don't *change* it in this way. That 
would be insane. 

Anthony
-- 
Anthony Baxter     <anthony at interlink.com.au>
It's never too late to have a happy childhood.


More information about the Python-3000 mailing list