Changes by Gregory P. Smith g...@krypto.org:
--
assignee: gregory.p.smith -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1060
___
___
Gregory P. Smith added the comment:
The issue here was that reading more data than will fit into an in
memory string fails. While the zipfile module could detect this in some
cases, it is not really worth such a runtime check. This is just a fact
of python and of sane programming, if you're
Changes by Sean Reifschneider:
--
priority: - normal
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1060
__
___
Python-bugs-list mailing list
Unsubscribe:
Kevin Ar18 added the comment:
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
Martin v. Löwis added the comment:
I now see the problem. What you want to do cannot possibly work.
You are trying to create a string object that is larger than 2GB; this
is not possible on a 32-bit system (which I assume you are using). No
matter how you modify the read() function, it would
Kevin Ar18 added the comment:
Just some thoughts
In posting about this problem elsewhere, it has been argued that you
shouldn't be copying that much stuff into memory anyways (though there
are possible cases for a need for that).
However, the question is what should the zipfile module do.
Kevin Ar18 added the comment:
So, just add an error to the module (so it won't crash)?
BTW, is Python 2.6 ready for use? I could use that feature now. :)
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1060
__
Kevin Ar18 added the comment:
Maybe a message that says that strings on 32-bit CPUs cannot handle more
than 2GB of data; use the stream instead?
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1060
__
New submission from Kevin Ar18:
Summary:
If you have a zip file that contains a file inside of it greater than
2GB, then the zipfile module is unable to read that file.
Steps to Reproduce:
1. Create a zip file several GB in size with a file inside of it that is
over 2GB in size.
2. Attempt to
Gregory P. Smith added the comment:
i'll take care of it. any more info in the interim will be appreciated.
--
assignee: - gregory.p.smith
nosy: +gregory.p.smith
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1060
10 matches
Mail list logo