Bug#1085626: gtk-doc: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Mon Oct 21 10:29:18 BST 2024


Source: gtk-doc
Version: 1.34.0-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/g/gtk-doc.html


  Setting up python3 (3.12.5-1) ...
  /usr/share/gtk-doc/python/gtkdoc/scan.py:44: SyntaxWarning: invalid
escape sequence '\s'
    VAR_TYPE_MODIFIER = '(?:' + '|'.join([t + '\s+' for t in
TYPE_MODIFIERS]) + ')*'
  /usr/share/gtk-doc/python/gtkdoc/scan.py:45: SyntaxWarning: invalid
escape sequence '\s'
    RET_TYPE_MODIFIER = '(?:' + '|'.join([t + '\s+' for t in
TYPE_MODIFIERS + ['G_CONST_RETURN']]) + ')*'
  /usr/share/gtk-doc/python/gtkdoc/scan.py:238: SyntaxWarning: invalid
escape sequence '\('
    ignore_decorators = '|' + options.ignore_decorators.replace('()', '\(\w*\)')
  /usr/share/gtk-doc/python/gtkdoc/scan.py:239: SyntaxWarning: invalid
escape sequence '\s'
    optional_decorators_regex = '(?:\s+(?:%s))?' % ignore_decorators[1:]
  /usr/share/gtk-doc/python/gtkdoc/scan.py:487: SyntaxWarning: invalid
escape sequence '\('
    ignore_decorators = '|' + options.ignore_decorators.replace('()', '\(\w*\)')
  /usr/share/gtk-doc/python/gtkdoc/scan.py:488: SyntaxWarning: invalid
escape sequence '\s'
    optional_decorators_regex = '(?:\s+(?:%s))?' % ignore_decorators[1:]



More information about the pkg-gnome-maintainers mailing list