Bug#1087107: syrthes: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Fri Nov 8 17:39:12 GMT 2024


Source: syrthes
Version: 4.3.5+20200129-dfsg1-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/s/syrthes.html


  Setting up python3 (3.12.5-1) ...
  /usr/share/syrthes-gui/calcView.py:1029: SyntaxWarning: invalid
escape sequence '\.'
    float_string="-?[0-9]+\.[0-9]+e(\+|-)[0-9]+"
  /usr/share/syrthes-gui/calcView.py:1030: SyntaxWarning: invalid
escape sequence '\_'
    string_string="[a-zA-Z\_]*"
  /usr/share/syrthes-gui/calcView.py:1033: SyntaxWarning: invalid
escape sequence '\s'
    balance_pattern=re.compile(r'(?P<btype>[a-zA-Z]+)\s+Time=\s+(?P<time>'+float_string+')\s+Balance\s+(?P<balance>'+int_string+')\s+')
  /usr/share/syrthes-gui/calcView.py:1033: SyntaxWarning: invalid
escape sequence '\s'
    balance_pattern=re.compile(r'(?P<btype>[a-zA-Z]+)\s+Time=\s+(?P<time>'+float_string+')\s+Balance\s+(?P<balance>'+int_string+')\s+')
  /usr/share/syrthes-gui/calcView.py:1034: SyntaxWarning: invalid
escape sequence '\s'
    var_pattern=re.compile(r'\s*(?P<name>'+string_string+')\s*=\s*(?P<value>'+float_string+')\s*')
  /usr/share/syrthes-gui/calcView.py:1034: SyntaxWarning: invalid
escape sequence '\s'
    var_pattern=re.compile(r'\s*(?P<name>'+string_string+')\s*=\s*(?P<value>'+float_string+')\s*')
  /usr/share/syrthes-gui/calcView.py:1139: SyntaxWarning: invalid
escape sequence '\.'
    float_string="-?[0-9]+\.[0-9]+e(\+|-)[0-9]+"
  /usr/share/syrthes-gui/calcView.py:1140: SyntaxWarning: invalid
escape sequence '\_'
    string_string="[a-zA-Z\_]*"
  /usr/share/syrthes-gui/calcView.py:1143: SyntaxWarning: invalid
escape sequence '\s'
    balance_pattern=re.compile(r'(?P<btype>[a-zA-Z]+)\s+Time=\s+(?P<time>'+float_string+')\s+Balance\s+(?P<balance>'+int_string+')\s+')
  /usr/share/syrthes-gui/calcView.py:1143: SyntaxWarning: invalid
escape sequence '\s'
    balance_pattern=re.compile(r'(?P<btype>[a-zA-Z]+)\s+Time=\s+(?P<time>'+float_string+')\s+Balance\s+(?P<balance>'+int_string+')\s+')
  /usr/share/syrthes-gui/calcView.py:1144: SyntaxWarning: invalid
escape sequence '\s'
    var_pattern=re.compile(r'\s*(?P<name>'+string_string+')\s*=\s*(?P<value>'+float_string+')\s*')
  /usr/share/syrthes-gui/calcView.py:1144: SyntaxWarning: invalid
escape sequence '\s'
    var_pattern=re.compile(r'\s*(?P<name>'+string_string+')\s*=\s*(?P<value>'+float_string+')\s*')



More information about the debian-science-maintainers mailing list