Gregory P. Smith <g...@krypto.org> added the comment:

When treated as an unsigned 32bit value those are identical.

Guido prefers to keep Python 2.x always having signed values for the 
scattered crc functions.  We changed it for 3.0 because it makes more 
sense given that python these days no real fixed-bits numeric type.

See also

http://bugs.python.org/issue1202

I posted a workaround in there.  Always & the crc32() or adler32() 
return value with 0xFFFFFFFF.

----------
dependencies: +zlib.crc32() and adler32() return value
nosy: +gregory.p.smith
resolution:  -> duplicate
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to