[issue14905] zipimport.c needs to support namespace packages when no 'directory' entry exists

Ronald Oussoren report at bugs.python.org
Mon Feb 18 16:33:24 CET 2013


Ronald Oussoren added the comment:

Why are zipfiles without entries for directories broken? When you don't care about directory permissions (such as when the zipfile won't be extracted at all) the entries for directories are not necessary. Also, AFAIK the zipfile specification <http://www.pkware.com/documents/casestudies/APPNOTE.TXT> does not require adding directory entries to the zipfile.

FWIW: the zipfiles created by py2app do no contain entries for directories at the moment.  I'll probably add entries for directories in the next update to work around this issue.

----------
nosy: +ronaldoussoren

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


More information about the Python-bugs-list mailing list