Question about 'None'
Francis Girard
francis.girard at free.fr
Fri Jan 28 09:10:18 EST 2005
Le vendredi 28 Janvier 2005 22:54, jfj a écrit :
> Francis Girard wrote:
> > What was the goal behind this rule ?
>
> If you have a list which contains integers, strings, tuples, lists and
> dicts and you sort it and print it, it will be easier to detect what
> you're looking for:)
>
>
> G.
Mmm. Certainly not one of my top requirements.
Anyway, it would be better to separately provide a compare function that
orders elements according to their types instead of making the comparison
operators default semantics somewhat obscure (and dangerous).
Thank you
Francis Girard
More information about the Python-list
mailing list