[issue18857] urlencode of a None value uses the string 'None'
James Addison
report at bugs.python.org
Wed May 6 17:47:36 EDT 2020
James Addison <jay+bpo at jp-hosting.net> added the comment:
The pair of pull requests below implement None-preserving urlencode and parse_qs* via a default-disabled flag 'standalone_keys'.
- https://bugs.python.org/pull_request19259
- https://bugs.python.org/pull_request19264
(they're also already linked with this issue, thanks to the neat GitHub/BPO integration)
A benefit of the proposed serialization changes is that developers can opt-in to a scheme in which "{'a': None}" and "{'a': ''}" do not collide to the same encoded representation.
Would it be possible to re-open this issue for discussion?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue18857>
_______________________________________
More information about the Python-bugs-list
mailing list