R. David Murray <rdmur...@bitdance.com> added the comment:

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.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33690>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to