[issue22234] urllib.parse.urlparse accepts any falsy value as an url

Luiz Poleto report at bugs.python.org
Tue Apr 26 00:27:05 EDT 2016


Luiz Poleto added the comment:

As discussed on the Mentors list, the attached patch (issue22234_37.patch) changes the urlparse function to handle non-str and non-bytes arguments and adds a new test case for it.

----------
Added file: http://bugs.python.org/file42592/issue22234_37.patch

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


More information about the Python-bugs-list mailing list