Bug#1085771: passes-gtk: Python SyntaxWarning
Graham Inggs
ginggs at debian.org
Tue Oct 22 15:04:24 BST 2024
Source: passes-gtk
Version: 0.10-1
User: debian-python at 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/passes-gtk.html
Setting up python3 (3.12.5-1+b1) ...
/usr/share/passes-gtk/passes/digital_pass.py:159: SyntaxWarning:
invalid escape sequence '\('
result = re.search('rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)',
/usr/share/passes-gtk/passes/digital_pass.py:170: SyntaxWarning:
invalid escape sequence '\#'
result = re.search('\#(\S{2})(\S{2})(\S{2})(\S{2})',
/usr/share/passes-gtk/passes/digital_pass.py:305: SyntaxWarning:
invalid escape sequence '\:'
matches = re.finditer('(T|t)([0-9]{2}\:?)+(\+|\-|Z)?', string)
/usr/share/passes-gtk/passes/digital_pass_factory.py:110:
SyntaxWarning: invalid escape sequence '\.'
image_type = re.split('\.|@', file_name)[0]
/usr/share/passes-gtk/passes/pass_field_row.py:54: SyntaxWarning:
invalid escape sequence '\S'
value = re.sub('(?:(https?://)|(www))(\S+)',
/usr/share/passes-gtk/passes/pass_field_row.py:59: SyntaxWarning:
invalid escape sequence '\+'
value = re.sub('(\+\d+[\(\)\-\d\s\.]+\d)',
/usr/share/passes-gtk/passes/pass_field_row.py:64: SyntaxWarning:
invalid escape sequence '\S'
value = re.sub('(\S+\@[\w\-]+\.\w+)',
More information about the pkg-gnome-maintainers
mailing list