Re: [Python-3000] Iterators for dict keys, values, and items == annoying :)

2006-03-26 Thread Adam DePrince
I have a draft PEP and an implementation of mutable iterators for lists and dicts that supports delete only. The PEP (Mutable Iterations) and sample code can be found at: http://www.deprince.net/ideas/peps.html Or, you can get the patch from: http://sourceforge.net/tracker/index.php?func=deta

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

2006-03-26 Thread Anthony Baxter
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).