[issue31706] urlencode should accept generator as values for mappings when doseq=True

2019-08-25 Thread Tal Einat
Tal Einat added the comment: IMO the benefit here is very small and not worth the added complexity (implementation + tests + docs + maintenance). -- nosy: +taleinat ___ Python tracker

[issue31706] urlencode should accept generator as values for mappings when doseq=True

2018-05-02 Thread François Freitag
Change by François Freitag : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___

[issue31706] urlencode should accept generator as values for mappings when doseq=True

2017-11-24 Thread François Freitag
François Freitag added the comment: I updated the PR to allow any iterable of two-elements iterables to be passed to urlencode. If anyone has the time and interest, the PR is ready for review. -- ___ Python tracker

[issue31706] urlencode should accept generator as values for mappings when doseq=True

2017-10-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 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

[issue31706] urlencode should accept generator as values for mappings when doseq=True

2017-10-05 Thread François Freitag
Change by François Freitag : -- nosy: +orsenthil ___ Python tracker ___ ___

[issue31706] urlencode should accept generator as values for mappings when doseq=True

2017-10-05 Thread François Freitag
Change by François Freitag : -- keywords: +patch pull_requests: +3872 stage: -> patch review ___ Python tracker ___

[issue31706] urlencode should accept generator as values for mappings when doseq=True

2017-10-05 Thread François Freitag
New submission from François Freitag : The urlencode documentation states that: The value element in itself can be a sequence and in that case, if the optional parameter doseq is evaluates to True, individual key=value pairs separated by '&' are generated for each