[issue24982] shutil.make_archive doesn't archive empty directories

2015-09-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue24982] shutil.make_archive doesn't archive empty directories

2015-09-06 Thread R. David Murray
R. David Murray added the comment: I think it could be considered a bug fix, given that other archive programs, including zipfile itself, act in this way, and it is relatively unlikely that anyone is *depending* on make_archive not including empty directories (ie: that it would break their

[issue24982] shutil.make_archive doesn't archive empty directories

2015-09-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___

[issue24982] shutil.make_archive doesn't archive empty directories

2015-09-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch. Should this be considered as a bug fix rather than new feature? -- keywords: +patch nosy: +eric.araujo, tarek stage: needs patch -> patch review Added file: http://bugs.python.org/file40381/make_archive_zip_dirs.patch

[issue24982] shutil.make_archive doesn't archive empty directories

2015-09-02 Thread R. David Murray
R. David Murray added the comment: See also issue 22219. I think we should fix this in shutil as well. -- nosy: +r.david.murray, serhiy.storchaka stage: -> needs patch versions: +Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue24982] shutil.make_archive doesn't archive empty directories

2015-09-01 Thread Eugene Kolo
New submission from Eugene Kolo: Zip file is sometimes known to only contain files and the paths to them, but it can also have have empty folders, they are zero length files with a flag set. make_archive just ignores empty directories, I propose that there should either be a flag, or it