Of course you'd still have to update the docs to point the folks to the useful comparison functions to use with sort. Barry > -----Original Message----- > From: python-dev-admin@python.org [mailto:python-dev-admin@python.org]On > Behalf Of Guido van Rossum > Sent: 22 August 2001 15:16 > To: Grant Griffin > Cc: Peter Funk; python-dev@python.org > Subject: Re: [Python-Dev] PEP 265 - Sorting Dictionaries by Value > > > > However, the problem I see with a class-based approach is that this > > is such a small thing that I'm not even sure how to write a class > > for it that isn't more grandiose than it deserves. > > Believe me, adding a new method to a heavily-used built-in object is > much more grandiose than adding a library module. In addition to "15 > lines of code" we need to update the documentation, add a few lines to > the test suite, add code to Jython mimicking the feature; 30 books > will be a little more out of date, and so on. > > --Guido van Rossum (home page: http://www.python.org/~guido/) > > _______________________________________________ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev >
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4