diff options
author | adam <adam@pkgsrc.org> | 2018-03-05 12:31:17 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-03-05 12:31:17 +0000 |
commit | e72d8c5719079769c6601325a686707828ac4db6 (patch) | |
tree | 2960420a7a1f346893114d07dbb4f7e5957bd0a3 /lang/go | |
parent | adeb1db92098c563d03f25d67a8ced11314a8396 (diff) | |
download | pkgsrc-e72d8c5719079769c6601325a686707828ac4db6.tar.gz |
py-hyperlink: updated to 18.0.0
18.0.0:
When passed to str() URLs now stringify to usable URL strings.
Switched off of Python's built-in IDNA facilities to using the idna package. Not only is it much more modern, it's also much more strict and correct in its output.
Added new DecodedURL type with almost-identical API to the normal URL, except that it automatically handles reserved characters in argument values passed to its methods.
Added top-level parse() convenience function that now represents the main entrypoint to hyperlink.
Accept dictionaries as ‘query=’ arguments, in addition to sequences of tuples
URL.child() will no longer fail when child gets no segments
URL.normalize() now supports encoding stray/unmatched % characters in character-encoded fields (userinfo, path, query string, fragment)
Diffstat (limited to 'lang/go')
0 files changed, 0 insertions, 0 deletions