Serhiy Storchaka added the comment: Looks good. But writestr() should be updated too. Some users use it to add a directory to ZIP file. Here is a patch with tests. It also changes attributes of regular file added by writestr().
---------- stage: test needed -> patch review versions: -Python 3.3 Added file: http://bugs.python.org/file36403/zipfile_dirattrs.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20912> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com