By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,587 Members | 1,677 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,587 IT Pros & Developers. It's quick & easy.

urlencode() doseq and Python 3.0

P: n/a

I think the default of urlencode doseq being false is just
there to preserve the old behavior.

if not doseq:
# preserve old behavior

I guess no one want really wants this:
>>urllib.urlencode({'key': ['value1', 'value2']})

I think this is what most people want:
>>urllib.urlencode({'key': ['value1', 'value2']}, doseq=True)
Should I open a bug against 3.0?


Thomas Guettler,
E-Mail: guettli (*) thomas-guettler + de
Oct 30 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.