commit | f48f9d38c02ef914194eeeeb6cdae770e218af00 | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@mad-scientist.com> | Mon Mar 17 18:48:05 2008 +0000 |
committer | Gregory P. Smith <greg@mad-scientist.com> | Mon Mar 17 18:48:05 2008 +0000 |
tree | 66b91bf167ab2d565d9da953376e038b3380796b | |
parent | 33451d8ab143fb89374673d3aa751910c5b1031e [diff] |
Force zlib.crc32 and zlib.adler32 to return a signed integer on all platforms regardless of the native sizeof(long) used in the integer object. This somewhat odd behavior of returning a signed is maintained in 2.x for compatibility reasons of always returning an integer rather than a long object. Fixes Issue1202 for Python 2.6