[issue5843] Normalization error in urlunparse

Aaron Hill report at bugs.python.org
Thu Oct 9 12:21:52 CEST 2014


Aaron Hill added the comment:

In order to fix this, I think ParseResult needs to have two additional fields, indicating with an empty prefix or query string are used.

Both ParseResult.fragment and ParseResult.query omit the leading '#' or '?' from their value. This makes it impossible to determine if the fragment/query string is entirely absent, or has no value.

----------
nosy: +Aaron1011

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5843>
_______________________________________


More information about the Python-bugs-list mailing list