mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
#9238: zipfile does handle archive comments.
This commit is contained in:
parent
222569dc1d
commit
98be996250
1 changed files with 2 additions and 5 deletions
|
|
@ -12,10 +12,8 @@ advanced use of this module will require an understanding of the format, as
|
|||
defined in `PKZIP Application Note
|
||||
<http://www.pkware.com/documents/casestudies/APPNOTE.TXT>`_.
|
||||
|
||||
This module does not currently handle multi-disk ZIP files, or ZIP files
|
||||
which have appended comments (although it correctly handles comments
|
||||
added to individual archive members---for which see the :ref:`zipinfo-objects`
|
||||
documentation). It can handle ZIP files that use the ZIP64 extensions
|
||||
This module does not currently handle multi-disk ZIP files.
|
||||
It can handle ZIP files that use the ZIP64 extensions
|
||||
(that is ZIP files that are more than 4 GByte in size). It supports
|
||||
decryption of encrypted files in ZIP archives, but it currently cannot
|
||||
create an encrypted file. Decryption is extremely slow as it is
|
||||
|
|
@ -64,7 +62,6 @@ The module defines the following items:
|
|||
|
||||
Returns ``True`` if *filename* is a valid ZIP file based on its magic number,
|
||||
otherwise returns ``False``. *filename* may be a file or file-like object too.
|
||||
This module does not currently handle ZIP files which have appended comments.
|
||||
|
||||
.. versionchanged:: 3.1
|
||||
Support for file and file-like objects.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue