[issue27089] I think this is a small bug in urlparse.py
Xiang Zhang
report at bugs.python.org
Mon May 23 05:03:35 EDT 2016
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 <report at bugs.python.org>
<http://bugs.python.org/issue27089>
_______________________________________
More information about the Python-bugs-list
mailing list