Grant Griffin: > PEP: 265 > Title: Sorting Dictionaries by Value [...] > 1) Is this useful enough to justify the feature/code bloat? (Tim has > suggested that this might be a hard sell to Guido, so if you like it in > whatever form, let's hear from you!) I think, this is feature bloat. IMHO using dictionaries as counters for something is only one very special application of this generic basic data structure. A standard library module containing a class derived from dictionary should be able to fullfill this 'batteries included' wish. The documentation of the builtin type dictionary could contain pointers to useful derived classes, so that newbies seeking such a feature have a better chance to find it. Regards, Peter -- Peter Funk, Oldenburger Str.86, D-27777 Ganderkesee, Germany, Fax:+49 4222950260 office: +49 421 20419-0 (ArtCom GmbH, Grazer Str.8, D-28359 Bremen, Germany)
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