missing os.lchmod, os.lchflags

Tim Chase python.list at tim.thechases.com
Wed Dec 24 15:22:38 EST 2014


On 2014-12-24 11:42, Ethan Furman wrote:
> According to the docs [1] these functions should be available as of
> 2.6, yet they are missing on a 2.7, 3.2, and 3.4 install (ubuntu
> 12.10 and 14.04)

Confirming the same absence of os.lchmod and os.lchflags in 2.7 and
3.2 on Debian Stable.

tim at laptop:~$ python
Python 2.7.3 (default, Mar 13 2014, 11:03:55) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> [s for s in dir(os) if s.startswith('lch')]
['lchown']

tim at laptop:~$ python3
Python 3.2.3 (default, Feb 20 2013, 14:44:27) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> [s for s in dir(os) if s.startswith('lch')]
['lchown']

-tkc






More information about the Python-list mailing list