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


Groups > comp.lang.python > #20056

Re: Re: frozendict

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <edriscoll@wisc.edu>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'content- type:multipart/signed': 0.09; 'filename:fname piece:signature': 0.09; 'though...': 0.09; 'bit.': 0.16; 'content-type:application /pgp-signature': 0.16; 'filename:fname piece:asc': 0.16; 'filename:fname:signature.asc': 0.16; 'hashable': 0.16; 'immutability': 0.16; 'mapping,': 0.16; 'objection': 0.16; 'cc:addr:python-list': 0.16; 'this:': 0.16; 'language': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.21; 'header:In-Reply- To:1': 0.22; 'cc:2**0': 0.26; 'import': 0.27; "skip:' 10": 0.29; 'cc:addr:python.org': 0.29; 'collections': 0.30; 'kelly': 0.30; "didn't": 0.30; 'header:User-Agent:1': 0.33; 'too': 0.33; 'however,': 0.35; 'something': 0.35; 'received:128': 0.38; 'received:192': 0.38; 'bunch': 0.38; 'that.': 0.39; "i'd": 0.39; 'point': 0.40; 'expected': 0.40; 'might': 0.40; 'helps': 0.63; 'guaranteed': 0.77
Date Wed, 08 Feb 2012 23:40:55 -0600
From Evan Driscoll <edriscoll@wisc.edu>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version 1.0
To Ian Kelly <ian.g.kelly@gmail.com>
Subject Re: Re: frozendict
References <4F332007.9080800@wisc.edu> <CALwzidnmsSVTr87KoH9WA+Rx6wcsJ8BhdgzUJUcG+UaYz6dU0A@mail.gmail.com>
In-Reply-To <CALwzidnmsSVTr87KoH9WA+Rx6wcsJ8BhdgzUJUcG+UaYz6dU0A@mail.gmail.com>
X-Enigmail-Version 1.3.4
Content-Type multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC4FF758FFCF6F522520CAF45"
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5571.1328766074.27778.python-list@python.org> (permalink)
Lines 44
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1328766074 news.xs4all.nl 6840 [2001:888:2000:d::a6]:34332
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20056

Show key headers only | 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