[issue8818] urlsplit and urlparse add extra slash when using scheme

R. David Murray report at bugs.python.org
Tue May 25 20:42:00 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

How would you expect urlsplit to differentiate between a relative path and a path with a netloc?  I would think that most people would expect the semantics the module provides without reading any additional documentation.  I certainly did, to the point where when reading your example I didn't even notice that there was any problem report other than the misnaming of the scheme keyword :)

You could suggest a clarification to the docs if you like.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8818>
_______________________________________


More information about the Python-bugs-list mailing list