Message110723
Rejecting invalid input seems better in this case. This was changed in issue1285086. Can we preface the normal fast path with something like:
if s is None:
raise TypeError('can only quote strings')
It used to raise:
Traceback (most recent call last):
File "/usr/lib64/python2.6/urllib.py", line 1222, in quote
res = map(safe_map.__getitem__, s)
TypeError: argument 2 to map() must support iteration |
|
Date |
User |
Action |
Args |
2010-07-19 09:09:48 | djc | set | recipients:
+ djc, orsenthil, flox |
2010-07-19 09:09:48 | djc | set | messageid: <1279530588.62.0.226192140376.issue9301@psf.upfronthosting.co.za> |
2010-07-19 09:09:46 | djc | link | issue9301 messages |
2010-07-19 09:09:46 | djc | create | |
|