A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-May/064909.html below:

[Python-Dev] Alternative path suggestion

[Python-Dev] Alternative path suggestion [Python-Dev] Alternative path suggestionGreg Ewing greg.ewing at canterbury.ac.nz
Sat May 6 13:08:31 CEST 2006
Mike Orr wrote:

> How do you do slicing and joining?  If Path subclasses object, it
> could be done there like in the first example.  But if Path subclasses
> string,

Er, hang on, I thought the idea was that it wouldn't
subclass either tuple *or* str, but would be a new
class all of its own.

That seems like the best idea, because it gives the
most flexibility for dealing with the quirks of
different systems' pathname semantics.

--
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4