Author beazley
Recipients beazley, gregory.p.smith, loewis
Date 2009-01-10.12:12:01
SpamBayes Score 0.119565
Marked as misclassified No
Message-id <1231589523.12.0.0809247258625.issue4903@psf.upfronthosting.co.za>
In-reply-to
Content
Placing a note in the standard library documentation would be a start.   
Just say in Python 3.0 it always returns the result as an unsigned 
integer whereas in Python 2.6 a 32-bit signed integer is returned. 
Although the numerical value may differ between versions, the underlying 
bits are the same.  Use crc32() & 0xffffffff to get a consistent value 
(already noted).

Note: Not everyone uses checksums in only a packed-binary format.  
Having the integer value just change across Python  versions like that 
is a real subtle compatibility problem to point out.
History
Date User Action Args
2009-01-10 12:12:03beazleysetrecipients: + beazley, loewis, gregory.p.smith
2009-01-10 12:12:03beazleysetmessageid: <1231589523.12.0.0809247258625.issue4903@psf.upfronthosting.co.za>
2009-01-10 12:12:02beazleylinkissue4903 messages
2009-01-10 12:12:01beazleycreate