This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients gregory.p.smith, serhiy.storchaka
Date 2015-03-20.21:52:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426888370.18.0.244841446134.issue23728@psf.upfronthosting.co.za>
In-reply-to
Content
zlib.adler32(), zlib.crc32(), and binascii.crc32() always return 32-bit unsigned integer in Python 3. binascii.crc_hqx() almost always returns 16-bit unsigned integer. But there is an exception. The result can negative only when arguments of binascii.crc_hqx() are empty bytes and negative integer. This looks as a bug and should be fixed. But may be no need to apply changes to maintained releases.
History
Date User Action Args
2015-03-20 21:52:50serhiy.storchakasetrecipients: + serhiy.storchaka, gregory.p.smith
2015-03-20 21:52:50serhiy.storchakasetmessageid: <1426888370.18.0.244841446134.issue23728@psf.upfronthosting.co.za>
2015-03-20 21:52:50serhiy.storchakalinkissue23728 messages
2015-03-20 21:52:50serhiy.storchakacreate