#1085559 dxf2gcode: Python SyntaxWarning

#1085559#5
Date:
2024-10-20 17:06:47 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/d/dxf2gcode.html


  Setting up dxf2gcode (20240509-2) ...
  /usr/lib/python3/dist-packages/dxf2gcode/core/layercontent.py:94:
SyntaxWarning: invalid escape sequence '\-'
    lopts_re = re.compile("([a-zA-Z]+
*"+g.config.vars.Layer_Options['id_float_separator']+" *[\-\.0-9]+)")
  /usr/lib/python3/dist-packages/dxf2gcode/core/project.py:151:
SyntaxWarning: invalid escape sequence '\+'
    match = re.match(Project.header.replace('+', '\+') % r'(\d+\.\d+)', content)
  /usr/lib/python3/dist-packages/dxf2gcode/globals/helperfunctions.py:54:
SyntaxWarning: invalid escape sequence '\ '
    """