Gregory P. Smith <greg at krypto.org> added the comment: The workaround I prefer to use is: x = zlib.adler32(mystr) & 0xffffffffL __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1202> __________________________________