Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7794
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; '2.7': 0.04; 'library,': 0.05; 'url:bugs': 0.05; 'suggesting': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'url:moin': 0.12; 'wrote:': 0.14; '3.2,': 0.16; '>because': 0.16; 'from:addr:acm.org': 0.16; 'furman': 0.16; 'general.': 0.16; 'library?': 0.16; 'received:198.144': 0.16; 'discussion': 0.19; 'jason': 0.22; 'fine': 0.22; 'unlikely': 0.23; 'url:wiki': 0.23; 'object': 0.26; 'problem': 0.28; 'indicated': 0.29; 'bit': 0.30; 'module': 0.30; "can't": 0.32; 'received:198': 0.32; 'steven': 0.32; 'header:X -Complaints-To:1': 0.32; 'to:addr:python-list': 0.33; 'with.': 0.33; 'too': 0.33; "i've": 0.33; 'chris': 0.34; 'there': 0.35; 'header:User-Agent:1': 0.35; "d'aprano": 0.35; 'reference': 0.35; 'quite': 0.36; 'charset:us-ascii': 0.36; 'bother': 0.37; 'think': 0.38; 'url:python': 0.38; 'received:org': 0.38; 'url:org': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'header:Mime- Version:1': 0.39; 'either': 0.39; 'to:addr:python.org': 0.39; 'your': 0.60; 'back': 0.63; 'here': 0.66; 'article': 0.76; 'incomplete,': 0.84; 'ultimately,': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Ned Deily <nad@acm.org> |
| Subject | Re: os.path and Path |
| Date | Thu, 16 Jun 2011 19:55:24 -0700 |
| References | <mailman.8.1308188800.1164.python-list@python.org> <4df9ad53$0$29973$c3e8da3$5496439d@news.astraweb.com> <mailman.16.1308239495.1164.python-list@python.org> <ite8950jj3@news6.newsguy.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | baybryj.net |
| User-Agent | MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
| 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.58.1308279344.1164.python-list@python.org> (permalink) |
| Lines | 30 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1308279344 news.xs4all.nl 49042 [::ffff:82.94.164.166]:44203 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:7794 |
Show key headers only | View raw
In article <ite8950jj3@news6.newsguy.com>, Chris Torek <nospam@torek.net> wrote: > >Steven D'Aprano wrote: > >> Why do you think there's no Path object in the standard library? *wink* > > In article <mailman.16.1308239495.1164.python-list@python.org> > Ethan Furman <ethan@stoneleaf.us> wrote: > >Because I can't find one in either 2.7 nor 3.2, and every reference I've > >found has indicated that the other Path contenders were too > >all-encompassing. > > What I think Steven D'Aprano is suggesting here is that the general > problem is too hard, and specific solutions too incomplete, to > bother with. > > Your own specific solution might work fine for your case(s), but it > is unlikely to work in general. Note there was quite a bit of discussion some years back about adding Jason Orendorff's Path module to the standard library, a module which had and still has its fans. Ultimately, though, it was vetoed by Guido. http://bugs.python.org/issue1226256 http://wiki.python.org/moin/PathModule -- Ned Deily, nad@acm.org
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
os.path and Path Ethan Furman <ethan@stoneleaf.us> - 2011-06-15 19:00 -0700
Re: os.path and Path Laurent Claessens <moky.math@gmail.com> - 2011-06-16 09:03 +0200
Re: os.path and Path Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-16 07:58 +0000
Re: os.path and Path Ethan Furman <ethan@stoneleaf.us> - 2011-06-16 09:16 -0700
Re: os.path and Path Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-16 16:41 +0000
Re: os.path and Path Ethan Furman <ethan@stoneleaf.us> - 2011-06-16 10:18 -0700
Re: os.path and Path Eric Snow <ericsnowcurrently@gmail.com> - 2011-06-16 11:21 -0600
Re: os.path and Path Christian Heimes <lists@cheimes.de> - 2011-06-16 18:32 +0200
Re: os.path and Path Ethan Furman <ethan@stoneleaf.us> - 2011-06-16 10:07 -0700
Re: os.path and Path Chris Angelico <rosuav@gmail.com> - 2011-06-17 11:00 +1000
Re: os.path and Path Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-16 07:14 +0000
Re: os.path and Path Ethan Furman <ethan@stoneleaf.us> - 2011-06-16 09:05 -0700
Re: os.path and Path Chris Torek <nospam@torek.net> - 2011-06-17 00:48 +0000
Re: os.path and Path Ethan Furman <ethan@stoneleaf.us> - 2011-06-16 18:19 -0700
Re: os.path and Path Ned Deily <nad@acm.org> - 2011-06-16 19:55 -0700
Re: os.path and Path rusi <rustompmody@gmail.com> - 2011-06-16 21:24 -0700
csiph-web