[Python-ideas] Proposed addtion to urllib.parse in 3.1 (and urlparse in 2.7)

Terry Reedy tjreedy at udel.edu
Sat Mar 28 00:36:20 CET 2009


Joel Bender wrote:
>> It's also possible that the order matters. I think an iterable of 
>> tuples (such as returned by dict.items(), but any iterable will do) 
>> would be an okay interface.
> 
> Ordered dict then :-)

But that, unlike iterable of tuples, would exclude repeated fields, as 
in Arnaud's example

 >Note that it's still not general enough as query fields can be 
repeated, e.g.
 >http://foo.com/search/?q=spam&q=eggs

tjr




More information about the Python-ideas mailing list