Upgrade rfc3986 to 1.3.2
MODIFY
CHANGES.rst
CHANGES.rst
Changes
=======
+dev (master)
+------------
+
+* Upgrade bundled rfc3986 to 1.3.2. (Pull #1609, Issue #1605)
+
+
1.25.2 (2019-04-28)
-------------------

MODIFY
src/urllib3/packages/rfc3986/__init__.py
src/urllib3/packages/rfc3986/__init__.py
@@ -36,7 +36,7 @@ __author__ = 'Ian Stapleton Cordasco'
__author_email__ = 'graffatcolmingov@gmail.com'
__license__ = 'Apache v2.0'
__copyright__ = 'Copyright 2014 Rackspace'
-__version__ = '1.3.1'
+__version__ = '1.3.2'
__all__ = (
'ParseResult',

MODIFY
src/urllib3/packages/rfc3986/misc.py
src/urllib3/packages/rfc3986/misc.py
@@ -110,28 +110,6 @@ ISUBAUTHORITY_MATCHER = re.compile((
abnf_regexp.PORT_RE), re.UNICODE)
-IHOST_MATCHER = re.compile('^' + abnf_regexp.IHOST_RE + '$', re.UNICODE)
-
-IPATH_MATCHER = re.compile(abnf_regexp.IPATH_RE, re.UNICODE)
-
-IQUERY_MATCHER = re.compile(abnf_regexp.IQUERY_RE, re.UNICODE)
-
-IFRAGMENT_MATCHER = re.compile(abnf_regexp.IFRAGMENT_RE, re.UNICODE)
-
-
-RELATIVE_IRI_MATCHER = re.compile(u'^%s(?:\\?%s)?(?:%s)?$' % (
- abnf_regexp.IRELATIVE_PART_RE,
- abnf_regexp.IQUERY_RE,
- abnf_regexp.IFRAGMENT_RE
-), re.UNICODE)
-
-ABSOLUTE_IRI_MATCHER = re.compile(u'^%s:%s(?:\\?%s)?$' % (
- abnf_regexp.COMPONENT_PATTERN_DICT['scheme'],
- abnf_regexp.IHIER_PART_RE,
- abnf_regexp.IQUERY_RE[1:-1]
-), re.UNICODE)
-
-
# Path merger as defined in http://tools.ietf.org/html/rfc3986#section-5.2.3
def merge_paths(base_uri, relative_path):
"""Merge a base URI's path with a relative URI's path."""

Upgrade rfc3986 to 1.3.2 (#1609)