]> granicus.if.org Git - python/commit
Add a test to make sure zlib.crc32 and binascii.crc32 return the same thing.
authorGregory P. Smith <greg@mad-scientist.com>
Tue, 18 Mar 2008 22:27:41 +0000 (22:27 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Tue, 18 Mar 2008 22:27:41 +0000 (22:27 +0000)
commitc856fa811dfdd6d17396d9aa522eea19b0f46c93
treedf1e5900e00c10f3cc4782ffc1aa963ee73e2efa
parent6a644f92efb35e75f81d183aebfff3260b1454e2
Add a test to make sure zlib.crc32 and binascii.crc32 return the same thing.
Fix a buglet in binascii.crc32, the second optional argument could previously
have a signedness mismatch with the C variable its going into.
Lib/test/test_zlib.py
Modules/binascii.c