Thomas W. Barr <t...@rice.edu> added the comment: A fair point. I was thinking that we could query the OS about whatever filesystem the path is on, but this wouldn't work for a file that hasn't been created yet.
The issue with extractall() isn't just that it can extract over existing files, it's that it can write files anywhere on the filesystem, both by exploiting symlinks and through path manipulation. The more I think about it, though, the more I think the case sensitivity is a non-issue here, since the trailing part of the extraction paths is built out of the base path, which I then compare against. The capitalization will therefore be consistent, and I don't need to worry about this. Does this seem right? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6972> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com