[Python-Dev] Keep default comparisons - or add a second set? (original) (raw)
Michael Urman murman at gmail.com
Tue Dec 20 04:29:33 CET 2005
- Previous message: [Python-Dev] Keep default comparisons - or add a second set?
- Next message: [Python-Dev] Keep default comparisons - or add a second set?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12/19/05, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
That would be my preference. Comparison for canonical ordering should be a distinct operation with its own spelling.
Such as sorted(stuff, key=id)?
Michael
Michael Urman http://www.tortall.net/mu/blog
- Previous message: [Python-Dev] Keep default comparisons - or add a second set?
- Next message: [Python-Dev] Keep default comparisons - or add a second set?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]