Re: [Python-Dev] Status of the fix for the hash collision ulnerability

2012-01-15 Thread Heiko Wundram
Am 15.01.2012 15:27, schrieb Victor Stinner: I don't think that it would be hard to patch this library to use another hash function. It can implement its own hash function, use MD5, SHA1, or anything else. hash() is not stable accross Python versions and 32/64 bit systems. As I wrote in a reply

Re: [Python-Dev] Status of the fix for the hash collision ulnerability

2012-01-15 Thread Victor Stinner
I don't think that it would be hard to patch this library to use another hash function. It can implement its own hash function, use MD5, SHA1, or anything else. hash() is not stable accross Python versions and 32/64 bit systems. Victor 2012/1/15 Hynek Schlawack : > Am Sonntag, 15. Januar 2012 um

Re: [Python-Dev] Status of the fix for the hash collision ulnerability

2012-01-15 Thread Hynek Schlawack
Am Sonntag, 15. Januar 2012 um 05:49 schrieb Steven D'Aprano: > > I don't think anyone doubts that this will break lots of code (at least, > > the arguments I've heard have been "their code is broken", not "nobody does > > that"). > > I don't know about "lots" of code, but it will break at least o