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 zmk
Recipients zmk
Date 2019-09-23.07:48:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1569224901.03.0.176047397678.issue38256@roundup.psfhosted.org>
In-reply-to
Content
Following code:
----------------------------
import binascii, zlib
bigdata=memoryview(bytearray((1<<32) + 100))

print(binascii.crc32(bigdata))
crc = binascii.crc32(bigdata[:1000])
crc = binascii.crc32(bigdata[1000:], crc)
print(crc)

print(zlib.crc32(bigdata))
crc = zlib.crc32(bigdata[:1000])
crc = zlib.crc32(bigdata[1000:], crc)
print(crc)
---------------------------
Outputs with python3.7

$ python3.7 x.py 
2575877834
2838121701
2838121701
2838121701
History
Date User Action Args
2019-09-23 07:48:21zmksetrecipients: + zmk
2019-09-23 07:48:21zmksetmessageid: <1569224901.03.0.176047397678.issue38256@roundup.psfhosted.org>
2019-09-23 07:48:20zmklinkissue38256 messages
2019-09-23 07:48:20zmkcreate