Josiah Carlson wrote: > I have written methods named 'next' which have *nothing* to do > with the iterator protocol.
That would be another reason for renaming .next() to .__next__() -- to avoid intruding on the user's namespace. -- Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com