[issue9332] Document requirements for os.symlink usage on Windows

Ned Batchelder report at bugs.python.org
Sun Aug 1 15:00:18 CEST 2010


Ned Batchelder <nedbat at users.sourceforge.net> added the comment:

This breaks virtualenv3 on Python 3.2, which simply test for the existence of os.symlink, which then fails for lack of privileges.  Perhaps an os.can_symlink() method, returning a boolean?  It can request privileges if you like, but provides a simple test that lets scripts know whether they should attempt a symlink or not.

----------
nosy: +nedbat

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


More information about the Python-bugs-list mailing list