06-support-python-3.11.patch 618 B

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