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


Groups > comp.lang.python > #20145

Re: frozendict

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <anonhung@gmail.com>
X-Original-To Python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.175
X-Spam-Level *
X-Spam-Evidence '*H*': 0.66; '*S*': 0.01; 'solution,': 0.09; 'gradually': 0.16; 'subtlety': 0.16; 'trying': 0.21; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'bit': 0.28; "i'm": 0.28; 'message-id:@mail.gmail.com': 0.29; 'received:209.85.210.46': 0.30; 'received:mail-pz0-f46.google.com': 0.30; 'implementing': 0.32; "i've": 0.32; "can't": 0.33; 'typical': 0.34; 'probably': 0.35; 'to:addr:python-list': 0.35; 'to:name:python-list': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'some': 0.38; 'think': 0.38; 'received:209': 0.39; 'missing': 0.40; 'to:addr:python.org': 0.40; 'prime': 0.67; 'hungary': 0.84; 'url:weebly': 0.84; 'minister': 0.93; 'temperature': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=MPufRvtjVcrGXhOyK/RDjnvml1vHXlPY+C8AR66go2M=; b=mTowGW0u89C0DZKTdjEID8rbC8aycGCDN8jkgUFawuKOCDvXOHrBp/cNi6UUheh3nX iFD6JN1Qn54QhCarnIeoS1b8rvKVI0aVeh1GV7z7e0u2VkMTcD4DCBOGfRfWKPyAbRsf pw1okTWarq3NugYLt3/of9sHH+umjxxPrZREU=
MIME-Version 1.0
In-Reply-To <4F332007.9080800@wisc.edu>
References <4F332007.9080800@wisc.edu>
Date Fri, 10 Feb 2012 07:38:43 +0100
Subject Re: frozendict
From anon hung <anonhung@gmail.com>
To Python-list <Python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
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.5641.1328855928.27778.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1328855928 news.xs4all.nl 6894 [2001:888:2000:d::a6]:38017
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20145

Show key headers only | View raw


> I've been trying for a few days (only a little bit at a time) to come up
> with a way of implementing a frozendict that doesn't suck. I'm gradually
> converging to a solution, but I can't help but think that there's some
> subtlety that I'm probably missing which is why it's not already provided.

The freezing temperature of typical dicts is around - 10 Celsius.

HTH,
anonhung

-- 
Viktor Orban Prime minister of Hungary
http://spreadingviktororban.weebly.com

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


Thread

Re: frozendict anon hung <anonhung@gmail.com> - 2012-02-10 07:38 +0100

csiph-web