mirror of
https://github.com/python/cpython.git
synced 2026-03-06 13:00:50 +00:00
Merged revisions 73565 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r73565 | gregory.p.smith | 2009-06-26 00:50:21 -0700 (Fri, 26 Jun 2009) | 2 lines Fixes the last problem mentioned in issue1202. ........
This commit is contained in:
parent
9f8a51c326
commit
e1e6764976
2 changed files with 4 additions and 1 deletions
|
|
@ -1110,7 +1110,7 @@ def writestr(self, zinfo_or_arcname, bytes):
|
|||
self.fp.flush()
|
||||
if zinfo.flag_bits & 0x08:
|
||||
# Write CRC and file sizes after the file data
|
||||
self.fp.write(struct.pack("<lLL", zinfo.CRC, zinfo.compress_size,
|
||||
self.fp.write(struct.pack("<LLL", zinfo.CRC, zinfo.compress_size,
|
||||
zinfo.file_size))
|
||||
self.filelist.append(zinfo)
|
||||
self.NameToInfo[zinfo.filename] = zinfo
|
||||
|
|
|
|||
|
|
@ -128,6 +128,9 @@ Library
|
|||
makeunicodedata.py and regenerated the Unicode database (This fixes
|
||||
u'\u1d79'.lower() == '\x00').
|
||||
|
||||
- Issue #1202: zipfile module would cause a DeprecationWarning when storing
|
||||
files with a CRC32 > 2**31-1.
|
||||
|
||||
Extension Modules
|
||||
-----------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue