[Zope-dev] ZTK 2.0: Deprecate zope.sequencesort
Charlie Clark
charlie.clark at clark-consulting.eu
Fri Mar 1 22:20:52 UTC 2013
Hi Tres,
Am 28.02.2013, 21:04 Uhr, schrieb Tres Seaver <tseaver at palladion.com>:
> The main export of the package is the 'sort' function, which takes a
> sequence, per-column sort specs (key/attr name, sort function,
> direction), and optional extra data (e.g., the DTML namespace) and a flag
> indicating whether to use key or attribute lookup. The 'SortBy' class is
> really just an implementation detail of that API.
>
>> I guess the right way to port the package is to implement a sort API.
> I have ported it to Python 3.2 and 3.3 and released a 4.0.0 version.
Thanks for the port. I guess the question is still whether it should still
be in ZTK - providing DTML as an example suggests that this really is a
Zope only library. Do you see use for it outside the Zope context?
Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
More information about the Zope-Dev
mailing list