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 Danny.Yoo
Recipients Danny.Yoo, gregory.p.smith
Date 2015-01-23.23:49:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422056966.81.0.518971767948.issue23306@psf.upfronthosting.co.za>
In-reply-to
Content
Reproduction steps:

---
$ python2.7 -c "import zlib;zlib.crc32('a'*(1<<31))"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
OverflowError: size does not fit in an int
---

We ran into this bug in zlib.crc32 when using zipfile.writestr() with a very large string; as soon as zipfile tried to write the crc checksum, it raised this error.


Python 3 does not appear to suffer from this bug.
History
Date User Action Args
2015-01-23 23:49:26Danny.Yoosetrecipients: + Danny.Yoo, gregory.p.smith
2015-01-23 23:49:26Danny.Yoosetmessageid: <1422056966.81.0.518971767948.issue23306@psf.upfronthosting.co.za>
2015-01-23 23:49:26Danny.Yoolinkissue23306 messages
2015-01-23 23:49:26Danny.Yoocreate