[Python-Dev] Re: PEP 276 (simple iterator for ints)

David Abrahams dave at boost-consulting.com
Wed Jun 30 13:27:19 EDT 2004

"Andrew Koenig" <ark-mlist at att.net> writes:

>> ?? Simple Iterator For Ints ??
>> http://www.python.org/peps/pep-0276.html
>> Are you sure you mean 276?
> Yes, I'm sure.  The proposal is that if n is an integer, iter(n) should
> iterate over the elements of range(n).

I understood that; I don't see how you connect that with sets.Set(42).
I don't see the word "set" anywhwere in that pep.

call-me-dim-ly y'rs,

More information about the Python-Dev mailing list