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 nagisa
Recipients nagisa
Date 2012-09-09.10:18:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347185937.29.0.747427121658.issue15887@psf.upfronthosting.co.za>
In-reply-to
Content
``urllib.parse.urlencode([('i', i) for i in range(1000)])`` works, but ``urlencode(('i', i) for i in range(1000))`` raises a ``TypeError: not a valid non-string sequence or mapping object``.

Allowing urlencode to accept generators would make life a bit easier.
History
Date User Action Args
2012-09-09 10:18:57nagisasetrecipients: + nagisa
2012-09-09 10:18:57nagisasetmessageid: <1347185937.29.0.747427121658.issue15887@psf.upfronthosting.co.za>
2012-09-09 10:18:56nagisalinkissue15887 messages
2012-09-09 10:18:56nagisacreate