DSU pattern (was Re: Trouble sorting lists (unicode/locale related?))
Alex Martelli
aleax at aleax.it
Mon Sep 22 11:45:57 EDT 2003
Duncan Booth wrote:
...
> FWIW, I think something like this belongs in the standard library rather
> than as a method on lists or a new builtin.
Definitely not a method on lists, we agree on that. Problem is, there
is no module in the standard library to collect "functions that are often
useful but not QUITE often enough to warrant being built-ins" (and if
there was, there are quite a few current built-ins I'd like to relegate
into such an auxiliary/utilities module), so that finding a good place,
other than built-ins, for such utility functions, is often a bother.
Alex
More information about the Python-list
mailing list