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 gregory.p.smith
Recipients gregory.p.smith, iamsav, nadeem.vawda, zmk
Date 2022-03-19.22:25:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647728710.33.0.719738450317.issue38256@roundup.psfhosted.org>
In-reply-to
Content
```
$ python3.8
Python 3.8.10 (default, Nov 26 2021, 20:14:08) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import binascii, zlib
>>> bigdata=memoryview(bytearray((1<<32) + 100))
>>> 
>>> print(binascii.crc32(bigdata))
2838121701
>>> crc = binascii.crc32(bigdata[:1000])
>>> crc = binascii.crc32(bigdata[1000:], crc)
>>> print(crc)
2838121701
>>> 
>>> print(zlib.crc32(bigdata))
2838121701
>>> crc = zlib.crc32(bigdata[:1000])
>>> crc = zlib.crc32(bigdata[1000:], crc)
>>> print(crc)
2838121701
```
History
Date User Action Args
2022-03-19 22:25:10gregory.p.smithsetrecipients: + gregory.p.smith, nadeem.vawda, zmk, iamsav
2022-03-19 22:25:10gregory.p.smithsetmessageid: <1647728710.33.0.719738450317.issue38256@roundup.psfhosted.org>
2022-03-19 22:25:10gregory.p.smithlinkissue38256 messages
2022-03-19 22:25:10gregory.p.smithcreate