Message79542
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. |
|
Date |
User |
Action |
Args |
2009-01-10 12:12:03 | beazley | set | recipients:
+ beazley, loewis, gregory.p.smith |
2009-01-10 12:12:03 | beazley | set | messageid: <1231589523.12.0.0809247258625.issue4903@psf.upfronthosting.co.za> |
2009-01-10 12:12:02 | beazley | link | issue4903 messages |
2009-01-10 12:12:01 | beazley | create | |
|