[New-bugs-announce] [issue22219] python -mzipfile fails to add empty folders to created zip

Antony Lee report at bugs.python.org
Sun Aug 17 19:53:45 CEST 2014


New submission from Antony Lee:

Compare

$ mkdir foo; zip -q foo{,}; unzip -l foo.zip
Archive:  foo.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  2014-08-17 10:49   foo/
---------                     -------
        0                     1 file

and

$ mkdir foo; python -mzipfile -c foo{.zip,}; unzip -l foo.zip
Archive:  foo.zip
warning [foo.zip]:  zipfile is empty

A patch was posted by Ryan Wilson in related issue #22201.

----------
components: Library (Lib)
messages: 225457
nosy: Antony.Lee
priority: normal
severity: normal
status: open
title: python -mzipfile fails to add empty folders to created zip
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22219>
_______________________________________


More information about the New-bugs-announce mailing list