samwyse <samw...@gmail.com> added the comment: Since no one else seems willing to do it, here's a patch that adds a 'quote_via' keyword parameter to the urlencode function.
>>> import urllib.parse >>> query={"foo": "+ "} >>> urllib.parse.urlencode(query) 'foo=%2B+' >>> urllib.parse.urlencode(query, quote_via=urllib.parse.quote) 'foo=%2B%20' ---------- keywords: +patch Added file: http://bugs.python.org/file26378/urllib_parse.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13866> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com