This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author samwyse
Recipients Stephen.Day, cvrebert, eric.araujo, ezio.melotti, jin, maker, orsenthil, samwyse
Date 2012-07-14.10:52:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342263136.52.0.34303332808.issue13866@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2012-07-14 10:52:16samwysesetrecipients: + samwyse, orsenthil, ezio.melotti, eric.araujo, cvrebert, maker, Stephen.Day, jin
2012-07-14 10:52:16samwysesetmessageid: <1342263136.52.0.34303332808.issue13866@psf.upfronthosting.co.za>
2012-07-14 10:52:15samwyselinkissue13866 messages
2012-07-14 10:52:15samwysecreate