Automatic Type Conversion to String
Ned Deily
nad at acm.org
Wed Feb 15 13:21:53 EST 2012
In article
<dc097623-f377-4c7d-a065-13b58bf1cabd at n12g2000yqb.googlegroups.com>,
Bruce Eckel <lists.eckel at 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 at acm.org
More information about the Python-list
mailing list