zlib.crc32 and zlib.adler32 now return an unsigned value as any sane person

would expect.

Fixes issues1202.
This commit is contained in:
Gregory P. Smith 2008-03-17 20:24:09 +00:00
parent c55485bc6d
commit ab0d8a1f59
3 changed files with 14 additions and 2 deletions

View file

@ -42,6 +42,8 @@ The available exception and functions in this module are:
the algorithm is designed for use as a checksum algorithm, it is not suitable
for use as a general hash algorithm.
Always returns an unsigned 32-bit integer.
.. function:: compress(string[, level])
@ -74,6 +76,8 @@ The available exception and functions in this module are:
the algorithm is designed for use as a checksum algorithm, it is not suitable
for use as a general hash algorithm.
Always returns an unsigned 32-bit integer.
.. function:: decompress(string[, wbits[, bufsize]])