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
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