Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'python3': 0.07; 'subject:missing': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; '2.7': 0.14; '(ubuntu': 0.16; '-tkc': 0.16; '2.7.3': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'stable.': 0.16; 'wrote:': 0.18; 'feb': 0.22; '>>>': 0.22; 'import': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; '[1]': 0.29; '3.2': 0.31; 'charset:us-ascii': 0.36; 'should': 0.36; 'received:10': 0.37; 'according': 0.40; 'more': 0.64; 'mar': 0.68; '2014,': 0.84; '3.4': 0.84; 'confirming': 0.84; 'ethan': 0.84; 'furman': 0.84; '2013,': 0.91 X-Sender-Id: wwwh|x-authuser|tim@thechases.com X-Sender-Id: wwwh|x-authuser|tim@thechases.com X-MC-Relay: Neutral X-MailChannels-SenderId: wwwh|x-authuser|tim@thechases.com X-MailChannels-Auth-Id: wwwh X-MC-Loop-Signature: 1419452422986:3263221437 X-MC-Ingress-Time: 1419452422986 Date: Wed, 24 Dec 2014 14:22:38 -0600 From: Tim Chase To: Ethan Furman Subject: Re: missing os.lchmod, os.lchflags In-Reply-To: <549B1742.4010003@stoneleaf.us> References: <549B1742.4010003@stoneleaf.us> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AuthUser: tim@thechases.com Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1419452435 news.xs4all.nl 2871 [2001:888:2000:d::a6]:34987 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82902 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@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@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