How about adding a sort parameter to dict methods?

maxm maxm at mxm.dk
Wed Dec 19 05:03:46 EST 2001


"Andrew Dalke" <dalke at dalkescientific.com> wrote in message
news:9vp5p4$51b$1 at slb0.atl.mindspring.net...

> Since there are many equally "valid" modifications to
> dictionaries and their methods, the Pythonic solution is to
> punt - provide the base functionality that other people can
> tweak for their specific needs.  And that functionality
> should be simple.
>
> What's present isn't going to aquire your proposed changes,
> or anything like it.  What you did is the Pythonic solution.

Fair enough. As long as there is a good reason :)

regards Max M





More information about the Python-list mailing list