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/2006-February/061274.html below:

[Python-Dev] Proposal: defaultdict

[Python-Dev] Proposal: defaultdict [Python-Dev] Proposal: defaultdictThomas Heller theller at python.net
Fri Feb 17 21:27:36 CET 2006
Guido van Rossum wrote:
> On 2/17/06, Thomas Heller <theller at python.net> wrote:
>> Ahem, I'm still looking for ways to 'overtake' the dict to implement
>> weird and fancy things.  Can on_missing be overridden in subclasses (writing
>> the subclass in C would not be a problem)?
> 
> Why ahem?
> 
> The answer is yes.

Ok, so that allows to pass the key, for example, to the default_factory -
allowing the case insensitive lookup in namespaces.

Thomas

More information about the Python-Dev mailing list

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