Message79542
| Author |
beazley |
| Recipients |
beazley, gregory.p.smith, loewis |
| Date |
2009年01月10日.12:12:01 |
| SpamBayes Score |
0.11956479 |
| 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: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 |
|