Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5784

Re: os.access giving incorrect results on Windows

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <bahamutzero8825@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'python)': 0.05; 'function,': 0.07; 'reflected': 0.09; 'pm,': 0.10; 'wrote:': 0.14; '[1].': 0.16; 'docs.': 0.16; 'posix': 0.16; 'useless.': 0.16; 'subject:Windows': 0.20; 'header:In-Reply-To:1': 0.21; '(and': 0.25; 'match': 0.26; 'windows': 0.26; 'problem': 0.28; 'version': 0.29; 'does': 0.33; 'to:addr:python-list': 0.33; 'that,': 0.34; 'header:User-Agent:1': 0.35; 'message-id:@gmail.com': 0.36; 'received:google.com': 0.37; 'received:74.125': 0.38; 'subject:: ': 0.38; 'received:192': 0.38; 'case,': 0.39; 'should': 0.39; 'to:addr:python.org': 0.39; 'meaning': 0.40; 'really': 0.40; 'received:192.168.1': 0.40; 'golden': 0.67
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=CLAANHJW4D825G5XhvXlutNaRVDf7T0BS0Y9D24CM2U=; b=M4Cwvy0O2nPO33EBagH+NX7RmYLWUK/DKwso24yVbPL1BqjN7As7+D4LCo9jfL9xkt gowrlgC6doGdvIzJgymLUIY4f2j+MGEUx3hml9CpnfZ7HsgxNFHseHArAZDRuQ3tYZ3U lVAiobDiXbwsMY41q3AOTb2R35ysUCarH+X0M=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=wruMMySANgPcvP4OoZq2y5eIwz02m6W9Rg8oov41HIPE2EoBg07xR97P8shUEiH5Rf aM9rozixRZGepZKx4VR2Fw3qfKzIQeO71Hnt5ofS3XbyE2kkrTEAYrH4xE6pOu9+8+P1 BdJIaCzfrk/FSdL3X3k5w0K/NP2QVM/CxNOK8=
Date Thu, 19 May 2011 14:56:17 -0500
From Andrew Berg <bahamutzero8825@gmail.com>
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 ThunderBrowse/3.3.5
MIME-Version 1.0
To python-list@python.org
Subject Re: os.access giving incorrect results on Windows
References <21581D39FA3BDF40904D75AF9653CE2606567E4A@blrex.prog.altair.com> <4DD572FB.2010809@timgolden.me.uk>
In-Reply-To <4DD572FB.2010809@timgolden.me.uk>
X-Enigmail-Version 1.1.1
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1799.1305834984.9059.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 82.94.164.166
X-Trace 1305834985 news.xs4all.nl 49041 [::ffff:82.94.164.166]:38535
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:5784

Show key headers only | View raw


On 2011.05.19 02:43 PM, Tim Golden wrote:
> This is basically issue2528 [1].
> The problem is that, although Windows (and Python)
> expose a version of os.access to match the Posix function,
> the meaning is so far removed on Windows as to be useless.
Does this affect just os.W_OK and directories or all of os.access()?

In any case, this information should really be reflected in the docs.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: os.access giving incorrect results on Windows Andrew Berg <bahamutzero8825@gmail.com> - 2011-05-19 14:56 -0500

csiph-web