[Python-3000] zlib.crc32 - signed or unsigned?

Christian Heimes lists at cheimes.de
Wed Mar 19 22:54:48 CET 2008


In Python 3.0 the unit test for zlib is broken because in 3.0 
zlib.crc32() returns an unsigned long. But in Python 2.x it's a signed int.

How should the issue be solved? I think the unsigned long is wrong.

Christian


More information about the Python-3000 mailing list