Fredrik Lundh schrieb: >> urlparse.urljoin("http://blah.com/", "../") >> >> should also give 'http://blah.com/'. > > make that: could also give 'http://blah.com/'. How so? If that would implement RFC 3986, you can get only a single outcome, if urljoin is meant to implement section 5 of that RFC. Regards, Martin