Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-transit.tcx.org.uk!rt.uk.eu.org!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.01; 'received:verizon.net': 0.07; 'terry': 0.07; 'python': 0.08; 'dict': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subclasses': 0.09; 'tuple': 0.09; '*list*': 0.16; 'reedy': 0.16; 'subject:independent': 0.16; 'wrote:': 0.18; 'jan': 0.19; 'header :In-Reply-To:1': 0.22; 'dictionary': 0.23; 'pair': 0.23; 'object,': 0.24; 'pm,': 0.29; 'object.': 0.30; 'objects.': 0.30; 'subject:?': 0.31; 'header:User-Agent:1': 0.33; 'header:X -Complaints-To:1': 0.33; 'to:addr:python-list': 0.34; 'list.': 0.35; 'received:org': 0.38; 'to:addr:python.org': 0.40 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: order independent hash? Date: Sun, 04 Dec 2011 19:28:12 -0500 References: <30715729.411.1322753732534.JavaMail.geo-discussion-forums@pret21> <4ED7A2CE.6070306@davea.name> <6366868.86.1322800180523.JavaMail.geo-discussion-forums@pret21> <3MKCq.194015$th7.47228@newsfe07.ams2> <26969335.380.1323013143216.JavaMail.geo-discussion-forums@prnu18> <27797359.1293.1323021983756.JavaMail.geo-discussion-forums@prfb10> <12469565.1384.1323040641935.JavaMail.geo-discussion-forums@prfj18> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-74-109-121-73.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: <12469565.1384.1323040641935.JavaMail.geo-discussion-forums@prfj18> 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1323044914 news.xs4all.nl 6858 [2001:888:2000:d::a6]:51448 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16632 On 12/4/2011 6:17 PM, 88888 Dihedral wrote: > In python the (k,v) pair in a dictionary k and v can be both an objects. > v can be a tuple or a list. In Python, everything is an object. *tuple* and *list* are subclasses of *object*. The value v for a dict can be any object, and must be an object. -- Terry Jan Reedy