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 Kevin Ar18
Recipients Kevin Ar18, gregory.p.smith
Date 2007-08-30.14:52:27
SpamBayes Score 0.09810184
Marked as misclassified No
Message-id <1188485548.62.0.401098664314.issue1060@psf.upfronthosting.co.za>
In-reply-to
Content
Here's another bug report that talks about a 2GB file limit:
http://bugs.python.org/issue1189216
The diff offered there does not solve the problem; actually it's
possible that the diff may not have anything to do with fixing the
problem (though I'm not certain), but may just be a readability change.

I tried to program a solution based on other stuff I saw/read on the
internet, but ran into different problems....

I took the line:
bytes = self.fp.read(zinfo.compress_size)
and made it read a little bit at a time and add the result to bytes as
it went along.  This was really slow (as it had to add the result to the
larger and larger bytes string each time); I tried with a list, but I
couldn't find how to join the list back together into a string when done
(similar to the javascript join() method).  However, even with the list
method, I ran into an odd "memory error," as it looped through into the
higher numbers, that I have no idea why it was happening, so I gave up
at that point.

Also, I have no idea if this one line in the zipfile module is the only
problem or if there are others that will pop up once you get that part
fixed.
History
Date User Action Args
2007-08-30 14:52:28Kevin Ar18setspambayes_score: 0.0981018 -> 0.09810184
recipients: + Kevin Ar18, gregory.p.smith
2007-08-30 14:52:28Kevin Ar18setspambayes_score: 0.0981018 -> 0.0981018
messageid: <1188485548.62.0.401098664314.issue1060@psf.upfronthosting.co.za>
2007-08-30 14:52:28Kevin Ar18linkissue1060 messages
2007-08-30 14:52:27Kevin Ar18create