[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus

Martin Panter report at bugs.python.org
Tue May 19 02:12:53 CEST 2015


Martin Panter added the comment:

Forcing the “quote_via” keyword wouldn’t help that much. I suggest to leave it as it is.

urlencode(query, True, "/", "ascii", "strict", quote)
urlencode(query, True, "/", "ascii", "strict", quote_via=quote)

On the other hand, forcing a keyword for the “doseq=True” flag would encourage easier-to-read code, but that ship has already bolted :)

----------

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


More information about the Python-bugs-list mailing list