Martin Panter added the comment:

Luiz: Your _36 patch looks like it adds an unconditional warning whenever 
urlparse() is called, but I would have expected it to depend on the type of the 
“url” parameter.

There are related functions that seem to accept false values like None in 
Python 3, but not in Python 2. Perhaps they should also be considered with any 
changes:

urlsplit(None)
parse_qs(None)
parse_qsl(None)
urldefrag(None)

Also, I wonder if we should continue to accept bytearray as well as bytes. 
Bytearray has a decode() method.

----------
stage:  -> patch review

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

Reply via email to