diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2020-08-03 17:05:15 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-08-06 10:27:03 -0700 |
commit | 7e13f22f522a5620f1f6029f6daf1a230e6932a5 (patch) | |
tree | 6d1dedb2d046eeb367cc771525500c15fbca54bc /meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.5.0.bb | |
parent | 6fbfe8e8fce5b6e8bf535304766631668d30f8be (diff) | |
download | meta-openembedded-7e13f22f522a5620f1f6029f6daf1a230e6932a5.tar.gz |
python3-yarl: Upgrade 1.4.2 -> 1.5.1
Upgrade to release 1.5.1:
- Fix including relocated internal yarl._quoting_c C-extension
into published PyPI dists.
- Convert host to lowercase on URL building. #386
- Allow using mod operator (%) for updating query string (an alias
for update_query() method).
- Allow use of sequences such as list and tuple in the values of a
mapping such as dict to represent that a key has many values:
url = URL("http://example.com")
assert url.with_query({"a": [1, 2]}) == URL("http://example.com/?a=1&a=2")
- Support URL.build() with scheme and path (creates a relative
URL).
- Cache slow IDNA encode/decode calls.
- Add @final / Final type hints.
- Support URL authority/raw_authority properties and authority
argument of URL.build() method.
- Hide the library implementation details, make the exposed public
list very clean.
- Fix tests with newer Python (3.7.6, 3.8.1 and 3.9.0+).
- Fix a bug where query component, passed in a form of mapping or
sequence, is unquoted in unexpected way.
- Hide Query and QueryVariable type aliases in __init__.pyi, now
they are prefixed with underscore.
- Keep ipv6 brackets after updating port/user/password.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.5.0.bb')
0 files changed, 0 insertions, 0 deletions