Message 303806 - Python tracker

Message303806

Author serhiy.storchaka
Recipients francois.freitag, orsenthil, serhiy.storchaka
Date 2017-10-06.07:06:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507273587.33.0.213398074469.issue31706@psf.upfronthosting.co.za>
In-reply-to
Content
Extending urlencode() to accept iterables instead of just sequences of values makes sense to me. There is no principal reason of requiring sequences. But you need to update the documentation, docstrings and comments.

While we are here, we can generalize urlencode() in other aspect. Currently it accepts either mapping or a sequence of 2-tuples. It could be accept an iterable of 2-tuples (or even an iterable of 2-element sequences or 2-element iterables).
History
Date User Action Args
2017-10-06 07:06:27serhiy.storchakasetrecipients: + serhiy.storchaka, orsenthil, francois.freitag
2017-10-06 07:06:27serhiy.storchakasetmessageid: <1507273587.33.0.213398074469.issue31706@psf.upfronthosting.co.za>
2017-10-06 07:06:27serhiy.storchakalinkissue31706 messages
2017-10-06 07:06:27serhiy.storchakacreate