Message190481
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. |
|
Date |
User |
Action |
Args |
2013-06-02 10:52:18 | r.david.murray | set | recipients:
+ r.david.murray, twouters, rhettinger, Julian |
2013-06-02 10:52:18 | r.david.murray | set | messageid: <1370170338.48.0.697242527877.issue18111@psf.upfronthosting.co.za> |
2013-06-02 10:52:18 | r.david.murray | link | issue18111 messages |
2013-06-02 10:52:18 | r.david.murray | create | |
|