Roundup Robot added the comment:
New changeset c6b884483cd6 by Serhiy Storchaka in branch '2.7':
Issue #20912: Now directories added to ZIP file have correct Unix and MS-DOS
https://hg.python.org/cpython/rev/c6b884483cd6
New changeset b06e25a357de by Serhiy Storchaka in branch '3.4':
Issue
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20912
___
Serhiy Storchaka added the comment:
If there are no objections I'll commit the patch soon.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20912
___
Serhiy Storchaka added the comment:
Could shutil experts please comment this patch?
--
nosy: +christian.heimes, hynek, tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20912
___
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
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20912
___
___
New submission from Vitaly Murashev:
When I use 'zip' command-line tool on my Ubuntu 10.04 to pack a directory in
zip-archive, it internally assigns '0x41ed0010' attributes for it.
0x41ed0010 = 0x41ed 0xfff + 0x0010
Where:
0x41ed - unix attributes (40755)
0x0010 - means # MS-DOS
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
stage: - test needed
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20912
___