On 08/01/2014 01:33 AM, Ben Finney wrote:
Ah! Now I get a better idea why you're confused. There are two distinct uses of “key” going on.
Ahhh... no. Yes, I realize there were two different uses of 'key' and no, I didn't think they were necessarily the same.
* There is no guarantee all the items will be seen. ‘max’ could very well decide it's got the largest item and return it at any point. It's an implementation detail how it does that.
What?!? Are you serious? Under what kind of conditions?
Broadly, you should consider the ‘max’ function a black box.
Yeah, I'm starting to see that... -- Shiny! Let's be bad guys. Reach me @ memilanuk (at) gmail dot com _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor