#1086980 python3-simpletal: Python SyntaxWarning

#1086980#5
Date:
2024-11-07 17:39:43 UTC
From:
To:
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/python3-simpletal.html


  Setting up python3-simpletal (5.2-5) ...
  /usr/lib/python3/dist-packages/simpletal/simpleTAL.py:111:
SyntaxWarning: invalid escape sequence '\s'
    SINGLETON_XML_REGEX = re.compile ('^<[^\s/>]+(?:\s*[^=>]+="[^">]+")*\s*/>')
  /usr/lib/python3/dist-packages/simpletal/simpleTAL.py:112:
SyntaxWarning: invalid escape sequence '\s'
    SINGLETON_BYTES_XML_REGEX = re.compile
(b'^<[^\s/>]+(?:\s*[^=>]+="[^">]+")*\s*/>')