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


Groups > comp.lang.python > #25085

Re: Discussion on some Code Issues

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 <rosuav@gmail.com>
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 <a4f0e2a9-cc3b-4081-beb9-82f229e95ba1@googlegroups.com> <3c4e2ef9-bf7e-4fbc-bf12-6780fdc3e5d4@googlegroups.com> <mailman.1901.1341694286.4697.python-list@python.org> <09adb3cf-f3f2-4acc-b561-a36dcf15ecc7@googlegroups.com> <mailman.1910.1341734607.4697.python-list@python.org> <11832de7-a064-494e-b3e8-32a2f15a6902@googlegroups.com> <mailman.1922.1341767824.4697.python-list@python.org> <roy-249FE5.14174108072012@news.panix.com> <mailman.1930.1341784495.4697.python-list@python.org> <4ffa2c7b$0$29988$c3e8da3$5496439d@news.astraweb.com> <mailman.1936.1341823291.4697.python-list@python.org> <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 <rosuav@gmail.com>
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 <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.1949.1341845269.4697.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Mon, Jul 9, 2012 at 10:24 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> 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

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


Thread

Discussion on some Code Issues subhabangalore@gmail.com - 2012-07-04 16:21 -0700
  Re: Discussion on some Code Issues Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-05 00:02 +0000
  Re: Discussion on some Code Issues Rick Johnson <rantingrickjohnson@gmail.com> - 2012-07-04 17:08 -0700
  Re: Discussion on some Code Issues subhabangalore@gmail.com - 2012-07-04 20:25 -0700
    Re: Discussion on some Code Issues Peter Otten <__peter__@web.de> - 2012-07-05 09:30 +0200
      Re: Discussion on some Code Issues subhabangalore@gmail.com - 2012-07-05 07:33 -0700
      Re: Discussion on some Code Issues subhabangalore@gmail.com - 2012-07-05 07:33 -0700
        Re: Discussion on some Code Issues Peter Otten <__peter__@web.de> - 2012-07-06 09:35 +0200
  Re: Discussion on some Code Issues subhabangalore@gmail.com - 2012-07-07 12:54 -0700
    Re: Discussion on some Code Issues Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-07-07 16:51 -0400
      Re: Discussion on some Code Issues subhabangalore@gmail.com - 2012-07-07 22:42 -0700
        Re: Discussion on some Code Issues Chris Angelico <rosuav@gmail.com> - 2012-07-08 18:03 +1000
          Re: Discussion on some Code Issues subhabangalore@gmail.com - 2012-07-08 10:05 -0700
            Re: Discussion on some Code Issues Chris Angelico <rosuav@gmail.com> - 2012-07-09 03:17 +1000
              Re: Discussion on some Code Issues Roy Smith <roy@panix.com> - 2012-07-08 14:17 -0400
                Re: Discussion on some Code Issues Chris Angelico <rosuav@gmail.com> - 2012-07-09 07:54 +1000
                Re: Discussion on some Code Issues Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-09 00:57 +0000
                Re: Discussion on some Code Issues Chris Angelico <rosuav@gmail.com> - 2012-07-09 18:41 +1000
                Re: Discussion on some Code Issues Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-09 12:24 +0000
                Re: Discussion on some Code Issues Chris Angelico <rosuav@gmail.com> - 2012-07-10 00:47 +1000
                Re: Discussion on some Code Issues Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-07-09 12:49 -0400
              Re: Discussion on some Code Issues subhabangalore@gmail.com - 2012-07-16 07:17 -0700
              Re: Discussion on some Code Issues subhabangalore@gmail.com - 2012-07-16 07:17 -0700
            Re: Discussion on some Code Issues MRAB <python@mrabarnett.plus.com> - 2012-07-08 19:27 +0100
          Re: Discussion on some Code Issues subhabangalore@gmail.com - 2012-07-08 10:05 -0700
        Re: Discussion on some Code Issues Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-07-08 15:07 -0400
      Re: Discussion on some Code Issues subhabangalore@gmail.com - 2012-07-07 22:42 -0700

csiph-web