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, flox, orsenthil
Date 2010-07-19.09:09:46
SpamBayes Score 0.00047028376
Marked as misclassified No
Message-id <1279530588.62.0.226192140376.issue9301@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-07-19 09:09:48djcsetrecipients: + djc, orsenthil, flox
2010-07-19 09:09:48djcsetmessageid: <1279530588.62.0.226192140376.issue9301@psf.upfronthosting.co.za>
2010-07-19 09:09:46djclinkissue9301 messages
2010-07-19 09:09:46djccreate