Bugs item #1189216, was opened at 2005-04-24 21:08 Message generated for change (Comment added) made by mdcowles You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1189216&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 2.5 Status: Open Resolution: None Priority: 5 Submitted By: Bob Ippolito (etrepum) Assigned to: Nobody/Anonymous (nobody) Summary: zipfile module and 2G boundary Initial Comment: The zipfile module currently can not handle archives that have file headers that begin past the 2**31 byte boundary. This is really bug #679953 all over again -- that fix didn't solve all of the problem. Patch to CVS HEAD attached, backport candidate to 2.4.2 and 2.3.6. ---------------------------------------------------------------------- Comment By: Matthew Cowles (mdcowles) Date: 2005-10-16 14:18 Message: Logged In: YES user_id=198518 [From a post to python-help] Related to this is that zipfile raises an exception on creating a file that's too big. It seems that the limitation should be documented or removed. This is from the message to python-help: python version 4.2. the class zipfile in the module zipfile is unable to .close() a file bigger than 2^32-1 (or whatever) bytes. Traceback (most recent call last): File "bk.py", line 12, in ? zf.close() File "C:\Python24\lib\zipfile.py", line 503, in close zinfo.header_offset) OverflowError: long int too large to convert to int ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1189216&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com