[Python-Dev] Path object design

Fredrik Lundh fredrik at pythonware.com
Fri Nov 3 20:04:40 CET 2006


Steve Holden wrote:

> Although the last two smell like bugs, the point of urljoin is to make 
> an absolute URL from an absolute ("current page") URL

also known as a base URL:

     http://www.w3.org/TR/html4/struct/links.html#h-12.4.1

(os.path.join's behaviour is also well-defined, btw; if any component is 
an absolute path, all preceding components are ignored.)

</F>



More information about the Python-Dev mailing list