#1085923 python-irc: Python SyntaxWarning

#1085923#5
Date:
2024-10-23 12:12:45 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/python-irc.html


  Setting up python3-irc (8.5.3+dfsg-5) ...
  /usr/lib/python3/dist-packages/irc/client.py:87: SyntaxWarning:
invalid escape sequence '\d'
    VERSION = tuple(int(res) for res in re.findall('\d+', VERSION_STRING))
  /usr/lib/python3/dist-packages/irc/server.py:213: SyntaxWarning:
invalid escape sequence '\-'
    if re.search('[^a-zA-Z0-9\-\[\]\'`^{}_]', nick):