[Python-Dev] Proposal: defaultdict

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 19 02:50:44 CET 2006

Would people perhaps feel better if defaultdict
*wasn't* a subclass of dict, but a distinct mapping
type of its own? That would make it clearer that it's
not meant to be a drop-in replacement for a dict
in arbitrary contexts.


More information about the Python-Dev mailing list