Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!news2.euro.net!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.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'thread,': 0.04; 'am,': 0.12; 'algorithm': 0.13; 'all..': 0.16; 'subject:independent': 0.16; '\xa0as': 0.16; 'received:74.125.82.44': 0.16; 'received :mail-ww0-f44.google.com': 0.16; 'wrote:': 0.18; 'pointed': 0.21; 'dec': 0.22; 'header:In-Reply-To:1': 0.22; 'function': 0.27; 'message-id:@mail.gmail.com': 0.28; 'hash': 0.30; 'oop': 0.30; 'sun,': 0.30; 'subject:?': 0.31; 'objects': 0.32; 'idea': 0.32; 'to:addr:python-list': 0.34; 'it.': 0.34; 'all.': 0.34; 'then.': 0.34; 'received:74.125.82': 0.35; 'sets': 0.35; 'explain': 0.36; 'thread': 0.37; 'received:74.125': 0.37; 'received:google.com': 0.37; 'think': 0.37; 'maps': 0.38; 'several': 0.38; 'ways': 0.39; 'talk': 0.39; 'called': 0.40; 'to:addr:python.org': 0.40; '2011': 0.61; 'power': 0.63; 'sets,': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=5V5EcLAVx6pwzCfjWEVEuXjoHp+BNIb5YRjAoDscik8=; b=D9MyaDDuglqiPh5QJQcpSSfK7h2KhshnpEQnudCSKYSlsJFErdXkTjBEcSz9FO3ZFd 4OdzTLkiCFP8hVNvhXJ19w6o4Myl9UT1c9rzM/wJDWgp0iitqeO8M3FEdaq6YVzE5AYS nvRefluglfD4bFzoHI1NYJZH/ZW9hHbQr1NFg= MIME-Version: 1.0 In-Reply-To: <27797359.1293.1323021983756.JavaMail.geo-discussion-forums@prfb10> 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> From: Ian Kelly Date: Sun, 4 Dec 2011 13:13:01 -0700 Subject: Re: order independent hash? To: Python 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1323029614 news.xs4all.nl 6840 [2001:888:2000:d::a6]:35832 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16625 On Sun, Dec 4, 2011 at 11:06 AM, 88888 Dihedral wrote: >> If you want to talk about ways to use dicts, please start a different >> thread for it. =A0As has been pointed out several times now, it is >> off-topic for this thread, which is about hash *functions*. > > A hash that can hash objects is not a hash function at all. Please explain what you think a hash function is, then. Per Wikipedia, "A hash function is any algorithm or subroutine that maps large data sets to smaller data sets, called keys." > Are you miss-leading the power of true OOP ? I have no idea what you are suggesting. I was not talking about OOP at all= .