summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--documentation/index.rst1
-rw-r--r--six.py1
3 files changed, 4 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 6ef6813..1e9eec5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,8 @@ This file lists the changes in each six version.
Development version
-------------------
+- Pull request #21: Add import mapping for urllib's proxy_bypass function.
+
- Issue #43: Add import mapping for the Python 2 xmlrpclib module.
- Issue #39: Add import mapping for the Python 2 thread module.
diff --git a/documentation/index.rst b/documentation/index.rst
index ee8b60d..394fb9c 100644
--- a/documentation/index.rst
+++ b/documentation/index.rst
@@ -617,6 +617,7 @@ Contains items from Python 3's :mod:`py3:urllib.request` and Python 2's:
* :func:`py2:urllib.urlcleanup`
* :class:`py2:urllib.URLopener`
* :class:`py2:urllib.FancyURLopener`
+* :func:`py2:urllib.proxy_bypass`
and :mod:`py2:urllib2`:
diff --git a/six.py b/six.py
index e4c0da4..de2e94f 100644
--- a/six.py
+++ b/six.py
@@ -285,6 +285,7 @@ _urllib_request_moved_attributes = [
MovedAttribute("urlcleanup", "urllib", "urllib.request"),
MovedAttribute("URLopener", "urllib", "urllib.request"),
MovedAttribute("FancyURLopener", "urllib", "urllib.request"),
+ MovedAttribute("proxy_bypass", "urllib", "urllib.request"),
]
for attr in _urllib_request_moved_attributes:
setattr(Module_six_moves_urllib_request, attr.name, attr)