Lukáš Doktor added the comment:

Hello Eryk,

thank you for the prompt response. I have only checked that using python2.6 on 
`wine` and there was no `os.symlink` support there. I'm not sure how to 
reasonably handle the `dir` flag for Windows as theoretically the symlink can 
point out of the zip file.

Do you know what happens when the symlink `dir` flag is set inappropriately? I 
guess it silently continues, but the link wont work, right?

Well I added the `except OSError` part, please let me know, whether this 
version is acceptable. The situation could only be better as without this patch 
both OSs are stuck with text files instead of symlinks, this way at least on 
Linux it should work properly.

----------
Added file: http://bugs.python.org/file43399/zipfile-symlink.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27318>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to