[Python-Dev] Breaking off Enhanced Iterators PEP from PEP 340

Ka-Ping Yee python-dev at zesty.ca
Sat May 7 00:30:22 CEST 2005


On Fri, 6 May 2005, Guido van Rossum wrote:
> There's one alternative possible (still orthogonal to PEP 340):
> instead of __next__(), we could add an optional argument to the next()
> method, and forget about the next() built-in.

I prefer your original proposal.  I think this is a good time to switch
to next().  If we are going to change the protocol, let's do it right.


-- ?!ng


More information about the Python-Dev mailing list