Bug#1087190: x2gobroker: Python SyntaxWarning
Source: x2gobroker
Version: 0.0.4.3-4.1
User: debian-python@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/x/x2gobroker.html
Setting up python3-x2gobroker (0.0.4.3-4.1) ...
/usr/lib/python3/dist-packages/x2gobroker/brokers/inifile_broker.py:144:
SyntaxWarning: invalid escape sequence '\ '
if re.match('^.*\ \(.*\)$', host):
/usr/lib/python3/dist-packages/x2gobroker/brokers/inifile_broker.py:150:
SyntaxWarning: invalid escape sequence '\d'
if (re.match('(?!-)[A-Z\d-]{1,63}(?<!-)$', _hostname,
flags=re.IGNORECASE) or \
/usr/lib/python3/dist-packages/x2gobroker/brokers/inifile_broker.py:151:
SyntaxWarning: invalid escape sequence '\d'
re.match('(?=^.{1,254}$)(^(?:(?!\d|-)[a-zA-Z0-9\-]{1,63}(?<!-)\.?)+(?:[a-zA-Z]{2,})$)',
_hostname, flags=re.IGNORECASE)) and \
/usr/lib/python3/dist-packages/x2gobroker/brokers/inifile_broker.py:152:
SyntaxWarning: invalid escape sequence '\d'
(re.match('(?=^.{1,254}$)(^(?:(?!\d|-)[a-zA-Z0-9\-]{1,63}(?<!-)\.?)+(?:[a-zA-Z]{2,})$)',
_address, flags=re.IGNORECASE) or \
Reply to: