A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-August/017149.html below:

[Python-Dev] PEP 265 - Sorting Dictionaries by Value

[Python-Dev] PEP 265 - Sorting Dictionaries by ValuePeter Funk pf@artcom-gmbh.de
Tue, 21 Aug 2001 08:43:00 +0200 (CEST)
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