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


Groups > comp.lang.python > #64619

Re: Initialise dictionary of dictionary

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.048
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'float': 0.07; 'yeah,': 0.09; '-tkc': 0.16; 'dangerous,': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'keys.': 0.16; 'rounding': 0.16; 'wrote:': 0.18; 'meant': 0.20; 'math': 0.24; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'errors': 0.30; 'keys': 0.31; 'problem': 0.35; 'but': 0.35; 'charset:us-ascii': 0.36; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'dave': 0.60; 'different': 0.65; 'detail.': 0.68; 'received:50.22': 0.84; 'angel': 0.91; 'wanting': 0.93
Date Thu, 23 Jan 2014 09:41:05 -0600
From Tim Chase <python.list@tim.thechases.com>
To python-list@python.org
Subject Re: Initialise dictionary of dictionary
In-Reply-To <lbrckm$75b$1@ger.gmane.org>
References <f2f630c9-434c-43c1-bd80-4fadcc552e0a@googlegroups.com> <lbrckm$75b$1@ger.gmane.org>
X-Mailer Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-OutGoing-Spam-Status No, score=-1.5
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - boston.accountservergroup.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - tim.thechases.com
X-Get-Message-Sender-Via boston.accountservergroup.com: authenticated_id: tim@thechases.com
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5896.1390491617.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1390491617 news.xs4all.nl 2861 [2001:888:2000:d::a6]:44589
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:64619

Show key headers only | View raw


On 2014-01-23 10:34, Dave Angel wrote:
> Unsure of what the floats have to do with it. Perhaps you meant
>  float KEYS. 

using floats for keys can be dangerous, as small rounding errors in
math can produce keys different enough that they're not found by an
exact-match lookup.  But yeah, the original problem specification was
rather wanting in detail.  I tried my best at interpreting it, for
whatever that may be worth.

-tkc


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


Thread

Initialise dictionary of dictionary Ayushi Dalmia <ayushidalmia2604@gmail.com> - 2014-01-23 07:15 -0800
  Re: Initialise dictionary of dictionary Tim Chase <python.list@tim.thechases.com> - 2014-01-23 09:30 -0600
    Re: Initialise dictionary of dictionary Ayushi Dalmia <ayushidalmia2604@gmail.com> - 2014-01-23 21:42 -0800
  Re:Initialise dictionary of dictionary Dave Angel <davea@davea.name> - 2014-01-23 10:34 -0500
  Re: Initialise dictionary of dictionary Tim Chase <python.list@tim.thechases.com> - 2014-01-23 09:41 -0600

csiph-web