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


Groups > comp.lang.python > #20455

Re: Automatic Type Conversion to String

From Ned Deily <nad@acm.org>
Subject Re: Automatic Type Conversion to String
Date 2012-02-15 19:21 +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>
Newsgroups comp.lang.python
Message-ID <mailman.5839.1329330127.27778.python-list@python.org> (permalink)

Show all headers | 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