[issue9333] Expose a way to enable os.symlink on Windows

Amaury Forgeot d'Arc report at bugs.python.org
Fri Dec 3 00:38:32 CET 2010


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

So the presence of os.symlink depends on some dynamic privilege?

It seems to me that it's the first time in Python. For example, os.chroot() is always available on Unix, even when the user is not root.  Of course the call will fail at runtime.

Why not simply raise an exception when the user has not enough privileges? (I mean OSError or WindowsError of course, not AttributeError)

----------
nosy: +amaury.forgeotdarc

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


More information about the Python-bugs-list mailing list