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


Groups > comp.lang.python > #20455

Re: Automatic Type Conversion to String

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!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.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.08; 'python': 0.08; '2006,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'url:peps': 0.09; 'antoine': 0.16; 'from:addr:acm.org': 0.16; 'pitrou,': 0.16; 'subject:String': 0.16; 'wrote:': 0.18; 'written': 0.19; 'seems': 0.20; 'maybe': 0.21; 'discussion': 0.22; 'url:dev': 0.23; 'bruce': 0.24; 'class': 0.29; 'problem': 0.29; 'ran': 0.30; 'solved': 0.30; 'str': 0.30; 'there': 0.33; 'header :User-Agent:1': 0.33; 'header:X-Complaints-To:1': 0.34; 'to:addr :python-list': 0.35; 'url:python': 0.35; 'core': 0.36; 'received:org': 0.36; 'created': 0.37; 'charset:us-ascii': 0.37; 'could': 0.38; 'url:org': 0.39; 'goes': 0.39; 'might': 0.40; 'to:addr:python.org': 0.40; 'back': 0.60; 'discovered': 0.70; 'article': 0.73; 'received:93': 0.79; 'received:fastwebnet.it': 0.91; 'subject:Automatic': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Deily <nad@acm.org>
Subject Re: Automatic Type Conversion to String
Date Wed, 15 Feb 2012 19:21:53 +0100
References <090e2893-7a1c-4b11-9e45-974ed33e7b77@i18g2000yqf.googlegroups.com> <mailman.5782.1329172035.27778.python-list@python.org> <mailman.5785.1329175143.27778.python-list@python.org> <eh7q09-69s.ln1@satorlaser.homedns.org> <dc097623-f377-4c7d-a065-13b58bf1cabd@n12g2000yqb.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 93-41-188-50.ip82.fastwebnet.it
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.5839.1329330127.27778.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1329330127 news.xs4all.nl 6895 [2001:888:2000:d::a6]:36382
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20455

Show key headers only | View raw


In article 
<dc097623-f377-4c7d-a065-13b58bf1cabd@n12g2000yqb.googlegroups.com>,
 Bruce Eckel <lists.eckel@gmail.com> wrote:
> Also, I discovered that the attempt to create a "Path" class goes back
> to 2006, where it created a lot of discussion and was finally shelved:
> http://www.python.org/dev/peps/pep-0355/
> 
> A significant part of the problem seems to be that there was no
> inheritance from str at the time, so maybe a lot of the issues they
> ran into could be solved now.

You might want to take a look at pathlib, a current attempt at providing 
object-oriented paths, written by Antoine Pitrou, one of the Python core 
developers:

http://pypi.python.org/pypi/pathlib

-- 
 Ned Deily,
 nad@acm.org

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


Thread

Automatic Type Conversion to String Bruce Eckel <lists.eckel@gmail.com> - 2012-02-13 14:01 -0800
  Re: Automatic Type Conversion to String Chris Rebert <clp2@rebertia.com> - 2012-02-13 14:27 -0800
    Re: Automatic Type Conversion to String Bruce Eckel <lists.eckel@gmail.com> - 2012-02-13 15:18 -0800
    Re: Automatic Type Conversion to String Bruce Eckel <lists.eckel@gmail.com> - 2012-02-13 15:18 -0800
      Re: Automatic Type Conversion to String Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-02-14 15:26 +0100
        Re: Automatic Type Conversion to String Bruce Eckel <lists.eckel@gmail.com> - 2012-02-15 06:58 -0800
          Re: Automatic Type Conversion to String Ned Deily <nad@acm.org> - 2012-02-15 19:21 +0100

csiph-web