Source: python-pattern
Version: 2.6+git20180818-4.1
User: debian-pyt...@lists.debian.org
Usertags: syntaxwarning

Hi Maintainer

The SyntaxWarning below were emitted when this package was tested with
pipuarts[1].

Regards
Graham


[1] https://piuparts.debian.org/sid/source/p/python-pattern.html


  Setting up python3-pattern (2.6+git20180818-4.1) ...
  /usr/lib/python3/dist-packages/pattern/graph/__init__.py:1265:
SyntaxWarning: invalid escape sequence '\('
    "\(\[\{\,\;\=\-\+\*\/",
  /usr/lib/python3/dist-packages/pattern/graph/__init__.py:1266:
SyntaxWarning: invalid escape sequence '\)'
    "\)\]\}\,\;\=\-\+\*\/"
  /usr/lib/python3/dist-packages/pattern/server/__init__.py:112:
SyntaxWarning: invalid escape sequence '\&'
    RE_AMPERSAND = re.compile("\&(?!\#)")           # & not followed by #
  /usr/lib/python3/dist-packages/pattern/text/__init__.py:52:
SyntaxWarning: invalid escape sequence '\['
    PUNCTUATION = ".,;:!?()\[]{}`'\"@#$^&*+-|=~_”—“"
  /usr/lib/python3/dist-packages/pattern/text/en/inflect_quantify.py:357:
SyntaxWarning: invalid escape sequence '\>'
    ("^<class '(.*)'\>", "\\1 class"),
  /usr/lib/python3/dist-packages/pattern/text/en/inflect_quantify.py:374:
SyntaxWarning: invalid escape sequence '\.'
    ("\."              , " "),
  /usr/lib/python3/dist-packages/pattern/text/search.py:495:
SyntaxWarning: invalid escape sequence '\('
    """ Returns a new Constraint from the given string.
  /usr/lib/python3/dist-packages/pattern/text/search.py:519:
SyntaxWarning: invalid escape sequence '\+'
    if s.endswith("+") and not s.endswith("\+"):
  /usr/lib/python3/dist-packages/pattern/text/search.py:521:
SyntaxWarning: invalid escape sequence '\?'
    if s.endswith("?") and not s.endswith("\?"):
  /usr/lib/python3/dist-packages/pattern/text/search.py:529:
SyntaxWarning: invalid escape sequence '\_'
    s = s.replace("\_", "&uscore;")
  /usr/lib/python3/dist-packages/pattern/text/search.py:538:
SyntaxWarning: invalid escape sequence '\('
    s = s.replace("\(", "(")
  /usr/lib/python3/dist-packages/pattern/text/search.py:539:
SyntaxWarning: invalid escape sequence '\)'
    s = s.replace("\)", ")")
  /usr/lib/python3/dist-packages/pattern/text/search.py:540:
SyntaxWarning: invalid escape sequence '\['
    s = s.replace("\[", "[")
  /usr/lib/python3/dist-packages/pattern/text/search.py:541:
SyntaxWarning: invalid escape sequence '\]'
    s = s.replace("\]", "]")
  /usr/lib/python3/dist-packages/pattern/text/search.py:542:
SyntaxWarning: invalid escape sequence '\{'
    s = s.replace("\{", "{")
  /usr/lib/python3/dist-packages/pattern/text/search.py:543:
SyntaxWarning: invalid escape sequence '\}'
    s = s.replace("\}", "}")
  /usr/lib/python3/dist-packages/pattern/text/search.py:544:
SyntaxWarning: invalid escape sequence '\*'
    s = s.replace("\*", "*")
  /usr/lib/python3/dist-packages/pattern/text/search.py:545:
SyntaxWarning: invalid escape sequence '\?'
    s = s.replace("\?", "?")
  /usr/lib/python3/dist-packages/pattern/text/search.py:546:
SyntaxWarning: invalid escape sequence '\+'
    s = s.replace("\+", "+")
  /usr/lib/python3/dist-packages/pattern/text/search.py:547:
SyntaxWarning: invalid escape sequence '\^'
    s = s.replace("\^", "^")
  /usr/lib/python3/dist-packages/pattern/text/search.py:548:
SyntaxWarning: invalid escape sequence '\|'
    s = s.replace("\|", "&vdash;")
  /usr/lib/python3/dist-packages/pattern/text/search.py:561:
SyntaxWarning: invalid escape sequence '\!'
    v = v.replace("\!", "!")
  /usr/lib/python3/dist-packages/pattern/text/search.py:738:
SyntaxWarning: invalid escape sequence '\('
    s = s.replace("\(", "&lparen;")
  /usr/lib/python3/dist-packages/pattern/text/search.py:739:
SyntaxWarning: invalid escape sequence '\)'
    s = s.replace("\)", "&rparen;")
  /usr/lib/python3/dist-packages/pattern/text/search.py:740:
SyntaxWarning: invalid escape sequence '\['
    s = s.replace("\[", "&lbrack;")
  /usr/lib/python3/dist-packages/pattern/text/search.py:741:
SyntaxWarning: invalid escape sequence '\]'
    s = s.replace("\]", "&rbrack;")
  /usr/lib/python3/dist-packages/pattern/text/search.py:742:
SyntaxWarning: invalid escape sequence '\{'
    s = s.replace("\{", "&lcurly;")
  /usr/lib/python3/dist-packages/pattern/text/search.py:743:
SyntaxWarning: invalid escape sequence '\}'
    s = s.replace("\}", "&rcurly;")
  /usr/lib/python3/dist-packages/pattern/text/search.py:755:
SyntaxWarning: invalid escape sequence '\|'
    s = s.replace("\|", "&vdash;")
  /usr/lib/python3/dist-packages/pattern/text/search.py:991:
SyntaxWarning: invalid escape sequence '\!'
    """ Returns the string with control characters for Pattern syntax escaped.
  /usr/lib/python3/dist-packages/pattern/vector/__init__.py:2946:
SyntaxWarning: invalid escape sequence '\,'
    doc2 = ('''" In probability theory, Bayes' theorem (often called
Bayes' law after Rev Thomas Bayes) relates the conditional and
marginal probabilities of two random events. It is often used to
compute posterior probabilities given observations. For example, a
patient may be observed to have certain symptoms. Bayes' theorem can
be used to compute the probability that a proposed diagnosis is
correct, given that observation.
  /usr/lib/python3/dist-packages/pattern/web/__init__.py:987:
SyntaxWarning: invalid escape sequence '\&'
    RE_AMPERSAND = re.compile("\&(?!\#)")           # & not followed by #

Reply via email to