R. David Murray added the comment: That's a good point about the __lt__. It occurred to me as well just before I read your post :).
Raymond, do any other languages have an iterator protocol as a core language feature? It's the fact that it is in Python, and that it is not simple to LBYL when dealing with iterators, that brings this issue up for min and max. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18111> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com