Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20056

Re: Re: frozendict

Date 2012-02-08 23:40 -0600
From Evan Driscoll <edriscoll@wisc.edu>
Subject Re: Re: frozendict
References <4F332007.9080800@wisc.edu> <CALwzidnmsSVTr87KoH9WA+Rx6wcsJ8BhdgzUJUcG+UaYz6dU0A@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5571.1328766074.27778.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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


Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Re: frozendict Evan Driscoll <edriscoll@wisc.edu> - 2012-02-08 23:40 -0600

csiph-web