Re: [Python-3000] Mini Path object

2006-11-10 Thread Paul Moore
On 11/10/06, Talin <[EMAIL PROTECTED]> wrote: > What I am arguing against is an overly strict and pedantic > interpretation of the differences in path representation across > platforms. True, in theory, you can't compare a windows path with a > posix path, but in practice it generally "just works".

Re: [Python-3000] Mini Path object

2006-11-10 Thread Niki Spahiev
Greg Ewing wrote: > What if you need to know whether it's an absolute or > relative path, e.g. so you can join it to another path? > You can't do that without knowing something about the > semantics. Maybe use file: URLs for universal format. They become more and more used in internet era. Niki

Re: [Python-3000] Mini Path object

2006-11-10 Thread Jim Jewett
On 11/10/06, Niki Spahiev <[EMAIL PROTECTED]> wrote: > Greg Ewing wrote: > > What if you need to know whether it's an absolute or > > relative path, e.g. so you can join it to another path? > > You can't do that without knowing something about the > > semantics. > Maybe use file: URLs for universa

Re: [Python-3000] Mini Path object

2006-11-10 Thread Greg Ewing
Niki Spahiev wrote: > Maybe use file: URLs for universal format. They become more and more > used in internet era. You still need some outside way of telling whether you're dealing with a universal format, since "file:" is a valid pathname component in Unix, a valid volume name in classic MacOS,