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 | djc |
|---|---|
| Recipients | djc |
| Date | 2008年02月25日.12:09:47 |
| SpamBayes Score | 0.041290227 |
| Marked as misclassified | No |
| Message-id | <1203941389.03.0.634927871204.issue2189@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
>>> urllib.quote(['', 'aa']) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.5/urllib.py", line 1205, in quote res = map(safe_map.__getitem__, s) KeyError: '' I think this is a weird error message to throw. quote() is obviously assuming that the param passed is a one-character string iterator or something. It should either accept just strings or come up with a better error message when confronted with an iterator element that is not a one-character string, IMO. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年02月25日 12:09:49 | djc | set | spambayes_score: 0.0412902 -> 0.041290227 recipients: + djc |
| 2008年02月25日 12:09:49 | djc | set | spambayes_score: 0.0412902 -> 0.0412902 messageid: <1203941389.03.0.634927871204.issue2189@psf.upfronthosting.co.za> |
| 2008年02月25日 12:09:48 | djc | link | issue2189 messages |
| 2008年02月25日 12:09:47 | djc | create | |