Senthil Kumaran <orsent...@gmail.com> added the comment:

Hello Mark, 
Thanks for the patch.

However there are reasons why the check is:

"if scheme in uses_netloc and url[:2] == '//':"
It cannot be replaced by just url[:2] == '//' as in your patch.

Different protocols have different parsing requirements. (for e.g. some wish to 
consider (or act as if), after the scheme, the rest is their path)

The better way is to add 's3' to uses_netloc list and it should be fine too. I 
shall add it and include your tests. Thanks.

----------
components: +Library (Lib) -Extension Modules

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7904>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to