Martin Panter added the comment:

I think a global registry seems like overkill. Here is a patch to make 
urljoin() treat schemes more equally and work with arbitrary schemes 
automatically. I haven’t heard any arguments against this option yet, and it 
didn’t break any tests.

Another option, still simpler than a registry, would be an extra parameter, say 
urljoin(a, b, any_scheme=True).

----------
keywords: +patch
Added file: http://bugs.python.org/file37480/urljoin-scheme.patch

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

Reply via email to