[Python-Dev] Keep default comparisons - or add a second set?

Michael Urman murman at gmail.com
Tue Dec 20 15:59:04 CET 2005


On 12/19/05, Josiah Carlson <jcarlson at uci.edu> wrote:
>
> Michael Urman <murman at gmail.com> wrote:
> > Such as sorted(stuff, key=id)?
>
> I believe that ideally, canonical orderings would be persistant across
> sessions.

Erm, yes, I totally missed that in Jim's original preferred
requirements. And I nearly wrote another response ignoring Jim's use
case of persistence, as I'm having trouble thinking of any (others)
where order matters yet comparability doesn't.

Michael
--
Michael Urman  http://www.tortall.net/mu/blog


More information about the Python-Dev mailing list