Xiang Zhang added the comment:

As a general purpose library for url parsing, I think conforming to the 
existing standard is a good choice.

'http://google.com]' is a malformed URI according to the standard and then I 
think raising an exception is quite suitable. Of course there are always 
malformed links in webpages but how to correct them is quite objective. I think 
catch the exception in application and correct them in your own logic is what 
you should do.

----------

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

Reply via email to