Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'python,': 0.01; 'python': 0.08; '32-bit': 0.09; ';-)': 0.12; 'broken': 0.12; 'question.': 0.15; "aren't": 0.21; 'header:In-Reply-To:1': 0.22; '64-bit': 0.23; 'index': 0.24; 'stefan': 0.24; 'code': 0.25; "wasn't": 0.25; 'function': 0.27; 'problem': 0.29; 'hash': 0.30; '---': 0.31; 'does': 0.32; 'header:User-Agent:1': 0.33; 'to:addr:python-list': 0.33; 'agree': 0.33; 'but': 0.37; 'received:org': 0.37; 'using': 0.37; 'getting': 0.37; 'stable': 0.38; 'some': 0.38; 'received:192': 0.38; 'received:192.168.1': 0.39; 'hit': 0.39; 'subject:: ': 0.39; 'to:addr:python.org': 0.40; 'storage': 0.68; 'stated': 0.70; 'design.': 0.73; 'mail:': 0.77; 'stupid': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=modelnine.org; s=modelnine1012; t=1326627979; bh=nb1+AFT+YMHCTsxc8QwuW6rN2sWV7qayPDHvtv7lVAs=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=XJOx/QECbwByYSz9Q3DF8KXQCX1v3hzri9F4thC5Qw9xXfr0RL/WkTCYGqpJUr9RC lB6epcX15nfU16GH4IRbtrUgIE50kmWMRSXVgDF5OXUhAdxvN636+s/L0sBWRf84+O ayIoemp78jnOPcv5ceO3KOFJkEG1G2QZP6x3gsTI= Date: Sun, 15 Jan 2012 12:46:18 +0100 From: Heiko Wundram User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120111 Thunderbird/10.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Hash stability References: <4f1107b7$0$29988$c3e8da3$5496439d@news.astraweb.com> <4F1205A7.70303@modelnine.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1326627982 news.xs4all.nl 6938 [2001:888:2000:d::a6]:33681 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19003 Am 15.01.2012 11:13, schrieb Stefan Behnel: > That's a stupid design. Using a hash function that the application does not > control to index into persistent storage just screams for getting the code > broken at some point. I agree completely with that (I hit the corresponding problem with suds while transitioning from 32-bit Python to 64-bit Python, where hashes aren't stable either), but as stated in my mail: that wasn't the original question. ;-) -- --- Heiko.