Hey guys,
I was just about to fix dict's get() to call __missing__ if a key doesn't exist
(before returning the default value) but realized that although small, that
patch can cause future issues.
Right now there's an inconsistency:
>>> from collections import UserDict
>>> class A(dict):
... d
Hey guys,
I was just about to fix dict's get() to call __missing__ if a key doesn't
exist (before returning the default value) but realized that although
small, that patch can cause future issues.
Right now there's an inconsistency:
>>> from collections import UserDict
>>> class A(dict):
... def