[issue6609] zipfile: WindowsError [267] The directory name is invalid

Tim Golden report at bugs.python.org
Fri Aug 13 11:52:42 CEST 2010


Tim Golden <mail at timgolden.me.uk> added the comment:

Closing as "won't fix": this would be the same if you had any code which tried to do os.mkdir ("aux"). By way of comparison, Info-ZIP's UnZip returns "checkdir error: aux exists but is not directory" which actually seems less useful!

I don't believe it's the responsibility of the zipfile module (or tarfile or bz2 or any other) to silently reinterpret the names of files -- how would any code in the package expecting "aux/code.c" cope with the name change?

----------
assignee:  -> tim.golden
resolution:  -> wont fix
stage:  -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list