See below (nothing earth shattering tho) ;)
----- Original Message -----
From: "Chris Withers" <[EMAIL PROTECTED]>
To: "Shane Hathaway" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 03, 2001 10:58 AM
Subject: Re: [Zope-dev] case insensitive sorts
> Shane Hathaway wrote:
> >
> > Python's sort() lets you sort based on not only strings but also tuples,
> > lists, and numbers, which is a very useful feature. Thus sort() is
> > intended to be a highly generalized method. It is useful but not ideal
> > for sorting text strings. What you *really* want is a second method,
> > perhaps in a new module (called "textops" or something similar) that
> > would also include multilingual text splitters and other utilities for
> > working with human-readable text.
>
> I agree that's a good idea, but all I'm talking about is the simple case
> of sorting strings, in which python's current implementation isn't very
> helpful and I don't see any situation where sorting:
>
> Andrew
> David
> Wayne
> bart
> sophie
>
> is better than sorting:
>
> Andrew
> bart
> David
> sophie
> Wayne
That's only because you use NT (ach spit). ;)
>
> cheers,
>
> Chris
>
> _______________________________________________
> Zope-Dev maillist - [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )