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 r.david.murray
Recipients maxking, r.david.murray
Date 2018-05-30.06:27:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527661665.58.0.682650639539.issue33690@psf.upfronthosting.co.za>
In-reply-to
Content
If a sequence as a value means repeated instances of a key with each value from the list, then logically an empty list means no instances of the key, as documented.  Blank values aren't really part of the standard (such as it is): the absence of a parameter is supposed to be equivalent to the value being empty.  Because of this, you have to pass keep_blank_values=True to parse_qs to retain keys with blank values.  I think it is reasonable that you have to take extra action if you want an empty list of values to instead result in a single key with a blank value.

So, this is working as designed and desired, I think.
History
Date User Action Args
2018-05-30 06:27:45r.david.murraysetrecipients: + r.david.murray, maxking
2018-05-30 06:27:45r.david.murraysetmessageid: <1527661665.58.0.682650639539.issue33690@psf.upfronthosting.co.za>
2018-05-30 06:27:45r.david.murraylinkissue33690 messages
2018-05-30 06:27:45r.david.murraycreate