Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'python': 0.09; 'parsed': 0.09; 'script,': 0.09; 'underlying': 0.09; '"python': 0.16; 'context:': 0.16; 'distinction': 0.16; 'evaluates': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:Discussion': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'systems.': 0.18; 'all,': 0.21; 'received:209.85.214.174': 0.21; 'context.': 0.22; 'os,': 0.22; 'subject:Code': 0.22; 'header:In-Reply-To:1': 0.25; 'question': 0.27; 'message-id:@mail.gmail.com': 0.27; 'agreed.': 0.29; "d'aprano": 0.29; 'omitted': 0.29; 'steven': 0.29; 'subject:some': 0.29; 'file': 0.32; 'not.': 0.32; 'to:addr:python-list': 0.33; 'likely': 0.33; 'received:google.com': 0.34; 'path': 0.35; 'so,': 0.35; 'pm,': 0.35; 'sometimes': 0.35; 'received:209.85': 0.35; 'really': 0.36; 'but': 0.36; "didn't": 0.36; 'does': 0.37; 'detail': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'back': 0.62; 'more': 0.63; 'gave': 0.65; 'jul': 0.65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xGN8RcroGwi+FEWlRUpkEUNto4jV+5IkyA/KfQVqYwg=; b=vCGk/zcaKDUKJWqqEn3gfTTKU3LGtcQQqUnP7Tyrb+SqquQOWGtIURp4fSXfRwmkUZ jpkuWT2kDtObSTIHtLkEpA5JFPw+P08jbUdPyXaEkM4Q2rsvsRGpRy+U4ZHMlqa4VtLn o99uy9uuqS+Y+iJIcTfazIqkz5xXecZmz973b5XJYcGISIQ/hrIF4a30NxTg7mWtTTNy 1RIxQVNIPpd5HC4arMV6rszWM+SHvct0MKoEPrH/3loRUrbIwwsSQXi/0FhxemTUghFd wd/tioFcFY5XcSqv+Sa+dqzbiuE8MRArak5DIoelxcONQ9KYznjM840TUHnf7VTdilxR Fs+A== MIME-Version: 1.0 In-Reply-To: <4ffacd61$0$29988$c3e8da3$5496439d@news.astraweb.com> References: <3c4e2ef9-bf7e-4fbc-bf12-6780fdc3e5d4@googlegroups.com> <09adb3cf-f3f2-4acc-b561-a36dcf15ecc7@googlegroups.com> <11832de7-a064-494e-b3e8-32a2f15a6902@googlegroups.com> <4ffa2c7b$0$29988$c3e8da3$5496439d@news.astraweb.com> <4ffacd61$0$29988$c3e8da3$5496439d@news.astraweb.com> Date: Tue, 10 Jul 2012 00:47:45 +1000 Subject: Re: Discussion on some Code Issues From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1341845269 news.xs4all.nl 6860 [2001:888:2000:d::a6]:56406 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:25085 On Mon, Jul 9, 2012 at 10:24 PM, Steven D'Aprano wrote: > But it does depend on context. Sometimes you need more detail than just > "Python looks". You need to know precisely *how* Python looks, and how it > decides whether it has found or not. Agreed. So, looking back at the original context: A question was posed that isn't really about Python at all, but more about file systems. I gave a simple one-sentence answer that omitted heaps of details. It didn't seem likely that someone confused by path names would be changing the current directory inside the script, nor that the distinction of who evaluates a path would be significant (how often does _anyone_ care whether your path is parsed by Python, by the OS, or by the underlying file system?). ChrisA