Re: [Python-Dev] Propose to reject PEP 276 -- Simple iterator for ints

2005-06-19 Thread Facundo Batista
On 6/17/05, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > The principal use case was largely met by enumerate(). From PEP 276's +1 for reject it. .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ ___ Python-Dev ma

Re: [Python-Dev] Propose to reject PEP 276 -- Simple iterator for ints

2005-06-16 Thread Guido van Rossum
I've never liked that idea. Down with it! On 6/16/05, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > The principal use case was largely met by enumerate(). From PEP 276's > rationale section: > > """ > A common programming idiom is to take a collection of objects and apply > some operation to ea

[Python-Dev] Propose to reject PEP 276 -- Simple iterator for ints

2005-06-16 Thread Raymond Hettinger
The principal use case was largely met by enumerate(). From PEP 276's rationale section: """ A common programming idiom is to take a collection of objects and apply some operation to each item in the collection in some established sequential order. Python provides the "for in" looping control st