[Python-Dev] Add a frozendict builtin type
Georg Brandl
g.brandl at gmx.net
Thu Mar 1 07:52:20 CET 2012
On 01.03.2012 02:45, Raymond Hettinger wrote:
>
> On Feb 29, 2012, at 4:23 PM, Victor Stinner wrote:
>
>> One of my colleagues implemented recently its own frozendict class
>> (which the "frozendict" name ;-)
>
> I write new collection classes all the time.
> That doesn't mean they warrant inclusion in the library or builtins.
> There is a use case for ListenableSets and ListenableDicts -- do we
> need them in the library? I think not. How about case insensitive variants?
> I think not. There are tons of recipes on ASPN and on PyPI.
> That doesn't make them worth adding in to the core group of types.
+1.
Georg
More information about the Python-Dev
mailing list