[Python-Dev] Proposal: defaultdict

Paul Moore p.f.moore at gmail.com
Fri Feb 17 12:04:17 CET 2006


On 2/17/06, Raymond Hettinger <python at rcn.com> wrote:
> >> Over lunch with Alex Martelli, he proposed that a subclass of dict
> >> with this behavior (but implemented in C) would be a good addition to
> >> the language
>
> I would like to add something like this to the collections module,

+1

> but a PEP is probably needed to deal with issues like:

+0 (You're probably right, but I fear there's no "perfect answer", so
discussions could go round in circles...)

Paul.


More information about the Python-Dev mailing list