Ordering of urlencoded tuples incorrect

2009-01-15 Thread benlucas99
I'm having problems with the ordering of the tuples produced by urllib.urlencode. Taking an example straight from the docs and so doing the following: import urllib ... params = urllib.urlencode({'spam': 1, 'eggs': 2, 'bacon': 0}) print params The documentation fo

Re: Ordering of urlencoded tuples incorrect

2009-01-16 Thread benlucas99
On Jan 16, 1:44 am, John Machin wrote: > On Jan 16, 11:59 am, benluca...@googlemail.com wrote: > > > I'm having problems with the ordering of the tuples produced by > > urllib.urlencode. Taking an example straight from the docs and so > > doing the following: > > What are "the docs" you are readi