aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/future/py3/patches/06-support-python-3.11.patch
blob: 5a9a1bb6113d36c4ed121f70ce8810e95573b0fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- contrib/python/future/py3/future/backports/http/cookies.py	(index)
+++ contrib/python/future/py3/future/backports/http/cookies.py	(working tree)
@@ -461,7 +461,7 @@ _CookiePattern = re.compile(r"""
     )?                             # End of optional value group
     \s*                            # Any number of spaces.
     (\s+|;|$)                      # Ending either at space, semicolon, or EOS.
-    """, re.ASCII)                 # May be removed if safe.
+    """, re.ASCII | re.VERBOSE)    # May be removed if safe.
 
 
 # At long last, here is the cookie class.  Using this class is almost just like