[docs] [issue8818] urlsplit and urlparse add extra slash when using scheme
Fred L. Drake, Jr.
report at bugs.python.org
Tue May 25 21:09:42 CEST 2010
Fred L. Drake, Jr. <fdrake at acm.org> added the comment:
On Tue, May 25, 2010 at 3:03 PM, AdamN <report at bugs.python.org> wrote:
> I'm still confused about when anybody would use a relative path with a default scheme and no netloc but I'll leave that decision to you guys.
The strings are not pseudo-URLs, they're relative references, as documented.
This is used all the time in HREF and SRC attributes in web pages,
which is exactly the use case for urlparse.urljoin().
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8818>
_______________________________________
More information about the docs
mailing list