frozendict

Evan Driscoll edriscoll at wisc.edu
Thu Feb 9 00:40:55 EST 2012


On 13:59, Ian Kelly wrote:
>
> Define "doesn't suck".  If I were to hack one up, it would look
> something like this:
>
>
> from collections import Mapping, Hashable

So part of my objection was that I wanted to make sure I got all of the
expected functionality, and that takes a bunch of functions. I didn't
know about the ABTs in 'collections' though, so that helps a bit.

However, I'd still prefer something that guaranteed immutability better
than that. I might just be fighting the language too much at that point
though...

Evan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 552 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20120208/b0119e7f/attachment-0001.sig>


More information about the Python-list mailing list