[Zope] Re: SortEx module feature request thinking

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Tue, 28 Aug 2001 19:24:24 +0400 (MSD)


On Tue, 28 Aug 2001, Peter Bengtsson wrote:
> >    Well, about your question: instead of predefined 'nocase' you can pass
> > your own function (see examples in SortEx tar.gz). And in this function
> you
> > can do whatever you want - you can determine types of your parameters,
> > compare them in any way you prefer, etc. SorEx is a framework you can use
> > to simplify your sorting needs!
>
> That's great, and I knew that but I'm lazy.
> I thought it could be one of those things that comes with it by default.

   I cannot guess what a user wants in case of wrong arg type :)

> Hm. Shame on me for being lazy. Guess I'll try to pass my own function.

   Good luck!

Oleg.
----
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.