Message92029
I've attached a patch that provides similar functionality to Dan Mahn's
urlencode(), as well as providing encoding and errors parameters to
parse_qs and parse_qsl, updating the documentation to reflect the added
parameters, and adding test cases. The implementation of urlencode() is
not the same as dmahn's, and has a more straightforward control flow and
less code duplication than the current implementation.
(For the tests, I tried to match the style of the file I was adding to
with regard to (expect, result) order, which is why it's inconsistent.) |
|
Date |
User |
Action |
Args |
2009-08-28 09:38:22 | milesck | set | recipients:
+ milesck, jhylton, ezio.melotti, dmahn |
2009-08-28 09:38:22 | milesck | set | messageid: <1251452302.28.0.326117583475.issue5468@psf.upfronthosting.co.za> |
2009-08-28 09:38:20 | milesck | link | issue5468 messages |
2009-08-28 09:38:20 | milesck | create | |
|