Message170536
| Author |
thomaslee |
| Recipients |
ezio.melotti, nagisa, orsenthil, terry.reedy, thomaslee |
| Date |
2012年09月15日.22:24:06 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1347747852.73.0.672954901409.issue15887@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. :) |
|
History
|
|---|
| 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 |
|