diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2017-09-16 15:03:17 -0400 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2017-09-16 12:03:17 -0700 |
commit | bdc84baaac0071c12cf09a83dbe7a9bbabe4b5cb (patch) | |
tree | 62d82469bc6387ec2d142a98167b140e7d572785 | |
parent | bb221f27b2860dc660f95f6689cd1ef1d4af70da (diff) | |
download | six-git-bdc84baaac0071c12cf09a83dbe7a9bbabe4b5cb.tar.gz |
Add parse_http_list and parse_keqv_list to moved urllib.request (#203)
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | documentation/index.rst | 2 | ||||
-rw-r--r-- | six.py | 2 |
3 files changed, 7 insertions, 0 deletions
@@ -6,6 +6,9 @@ This file lists the changes in each six version. Development version ------------------- +- Pull request #203: Add parse_http_list and parse_keqv_list to moved + urllib.request. + - Pull request #172 and issue #171: Add unquote_to_bytes to moved urllib.parse. - Pull request #167: Add `six.moves.getoutput`. diff --git a/documentation/index.rst b/documentation/index.rst index 52a9bb3..dd0dc6e 100644 --- a/documentation/index.rst +++ b/documentation/index.rst @@ -769,6 +769,8 @@ and :mod:`py2:urllib2`: * :func:`py2:urllib2.urlopen` * :func:`py2:urllib2.install_opener` * :func:`py2:urllib2.build_opener` +* :func:`py2:urllib2.parse_http_list` +* :func:`py2:urllib2.parse_keqv_list` * :class:`py2:urllib2.Request` * :class:`py2:urllib2.OpenerDirector` * :class:`py2:urllib2.HTTPDefaultErrorHandler` @@ -420,6 +420,8 @@ _urllib_request_moved_attributes = [ MovedAttribute("URLopener", "urllib", "urllib.request"), MovedAttribute("FancyURLopener", "urllib", "urllib.request"), MovedAttribute("proxy_bypass", "urllib", "urllib.request"), + MovedAttribute("parse_http_list", "urllib2", "urllib.request"), + MovedAttribute("parse_keqv_list", "urllib2", "urllib.request"), ] for attr in _urllib_request_moved_attributes: setattr(Module_six_moves_urllib_request, attr.name, attr) |