[Python-Dev] iterator API in Py3.0 (original) (raw)

Jeremy Hylton jeremy at alum.mit.edu
Fri Mar 3 23:24:31 CET 2006


On 3/3/06, Phillip J. Eby <pje at telecommunity.com> wrote:

At 04:09 PM 3/3/2006 -0500, Jeremy Hylton wrote: >I think it is a little odd that next is not spelled next, but I >appreciate the reasons given here in particular. Every time I right >.next(), I'm happy that it doesn't have underscores.

But then next(ob) should make you even happier, because then there's no '.', either. :)

I've got no problem with dots. No shift key necessary :-).

On the subject of predilections and builtins, I find myself typing .size() a lot lately. Too much C++, I guess, but it seems so natural as I type it.

Jeremy



More information about the Python-Dev mailing list