[Python-Dev] Path object design
fredrik at pythonware.com
Sat Nov 4 19:33:10 CET 2006
Steve Holden wrote:
>> Ah, but how do you know when that's wrong? At least under ftp:// your
>> root is often a mid-level directory until you change up out of it.
>> http:// will tend to treat the targets as roots, but I don't know that
>> there's any requirement for a /.. to be meaningless (even if it often
> I'm darned if I know. I simply know that it isn't right for http resources.
the URI specification disagrees; an URI that starts with "../" is per-
fectly legal, and the specification explicitly states how it should be
(it's important to realize that "urijoin" produces equivalent URI:s, not
More information about the Python-Dev