[issue7479] os.lchmod is not present

Martin v. Löwis report at bugs.python.org
Sat Dec 12 00:15:18 CET 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

All functions in the POSIX/os module are available only on those systems
that support them, and then do exactly what the system says they should
do. So if your system doesn't have lchmod, the os module won't provide
such a function on your system. There are systems which do provide
lchmod, e.g. NetBSD 1.3 and later.

Exposing this as a no-op function on systems which don't implement it
would be incorrect. If you want to wrap it with a no-op function in your
application, go ahead - it's easy enough.

I fail to see a bug in this report, so closing it as invalid.

----------
nosy: +loewis
resolution:  -> invalid
status: open -> closed

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


More information about the Python-bugs-list mailing list