Message170536
Patch attached. Terry, you'll notice I wrap the main part of the urlencode function in a big try/except block to catch TypeErrors & ValueErrors.
I'm a bit concerned that doing this may misreport the true underlying error in the event we screw up values/types in a way that doesn't relate to the 'query' argument, but I think the code seems to do a pretty good job of ensuring that won't happen -- so that fear may be unfounded.
You'll see I reworked the documentation quite a bit. The wording was a bit odd in places, and I called out a few things that may not be obvious at a glance. Hopefully it seems like an improvement. :) |
|
Date |
User |
Action |
Args |
2012-09-15 22:24:13 | thomaslee | set | recipients:
+ thomaslee, terry.reedy, orsenthil, ezio.melotti, nagisa |
2012-09-15 22:24:12 | thomaslee | set | messageid: <1347747852.73.0.672954901409.issue15887@psf.upfronthosting.co.za> |
2012-09-15 22:24:12 | thomaslee | link | issue15887 messages |
2012-09-15 22:24:11 | thomaslee | create | |
|