Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.055 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'cpython': 0.05; 'python': 0.08; 'am,': 0.12; 'dictionaries': 0.16; 'wrote:': 0.18; 'input': 0.22; 'header:In-Reply-To:1': 0.22; 'feb': 0.22; 'versions': 0.23; 'suspect': 0.24; 'function': 0.27; 'message-id:@mail.gmail.com': 0.29; 'kelly': 0.30; 'creates': 0.31; 'thu,': 0.32; 'to:addr :python-list': 0.35; 'received:209.85.160': 0.36; 'two': 0.36; 'created': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'hold': 0.38; 'received:209.85.160.46': 0.39; 'received:mail-pw0-f46.google.com': 0.39; 'received:209': 0.39; 'being': 0.40; 'to:addr:python.org': 0.40; 'guarantee.': 0.84; 'nathan': 0.84; 'scary': 0.84 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:content-transfer-encoding; bh=3GEHmhsv2YSC79y2GgxRJB88ybvZEBpOgpKe6DoC65U=; b=vNEnePBQV3v9Ue9KqYLR7LhqXxQ+nYULMwgZ1vSZ3sNS6LbToGI+h/mp4ldrSohCNs XJAbPiwtahi1L/TG3h8t44/dfJfAGwoTGmLkbe/F9qQSKehNedo1QDR8n4G3LrT/kKWa O/5YV4GpdcBTWpbHLy9f13or6GC8bjqRsp4Sw= MIME-Version: 1.0 In-Reply-To: References: <4F332007.9080800@wisc.edu> Date: Thu, 9 Feb 2012 11:50:51 -0500 Subject: Re: frozendict From: Nathan Rice To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1328806255 news.xs4all.nl 6850 [2001:888:2000:d::a6]:33915 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20088 On Thu, Feb 9, 2012 at 11:35 AM, Ian Kelly wrote: > On Thu, Feb 9, 2012 at 8:19 AM, Nathan Rice > wrote: >> As I said, two dictionaries created from the same input will be the >> same... > > That's an implementation detail, not a guarantee. =A0It will hold for > current versions of CPython but not necessarily for other Python > implementations. That is true. The implications of the function that creates dictionaries being non-deterministic are a little scary though, so I suspect that it will hold :) Nathan