Hi Collin, On Mon, Mar 12, 2007 at 11:19:26AM -0500, Collin Winter wrote: > iter() is part of every syntactic construction that takes an iterator > argument (for, listcomps, gencomps, ...). Should it go in operator as > well?
Historically, things that have a slot go in 'operator'. So that would mean that 'operator' is missing at least: getattr, setattr, delattr, next, repr, str, len, hash, hex, oct, divmod, int, float, long, descr_get, descr_set, descr_delete, getslice, setslice, delslice, call, init. Or else, things in 'operator' are the ones with a "syntactic equivalent". Then we should remove abs and index, and add list, tuple, dict, buildclass, new.function, ... Then there is stuff that doesn't fall in any category, like attrgetter, countOf, indexOf, ... Not-completely-useful'y-yours, Armin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com