This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author orsenthil
Recipients Claudiu.Popa, Joshua.Johnston, ezio.melotti, orsenthil, r.david.murray
Date 2013-09-15.22:36:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379284610.94.0.0631360390853.issue18857@psf.upfronthosting.co.za>
In-reply-to
Content
The patch looks good, but I have doubt in the claim that, this new behavior is actually a right thing to do.

RDM wrote:

Now, that said, it seems to me that while it is not (apparently) RFC compliant, query strings do have a natural way to support null values: a name without a value.  It would therefore be convenient if urlencode supported null values by turning something like {'josh': None, 'fred': 'abc'} into:

    josh&fred=abc


It is correctly recognized that it is not RFC Compliant. A reference to this behavior exhibited by the software may be helpful. The `application/x-www-form-urlencoded` type always looks for key=value kind of query string only. And changes submitted by patch will break for folks who think "a=None" is actually what they expected when the sent {a:None}.

I think, some present instances where this behavior is exhibited will be good to note.
History
Date User Action Args
2013-09-15 22:36:50orsenthilsetrecipients: + orsenthil, ezio.melotti, r.david.murray, Claudiu.Popa, Joshua.Johnston
2013-09-15 22:36:50orsenthilsetmessageid: <1379284610.94.0.0631360390853.issue18857@psf.upfronthosting.co.za>
2013-09-15 22:36:50orsenthillinkissue18857 messages
2013-09-15 22:36:50orsenthilcreate