#1085919 python-http-parser: Python SyntaxWarning

#1085919#5
Date:
2024-10-23 12:05:48 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/p/python-http-parser.html


  Setting up python3-http-parser (0.9.0+ds-1+b1) ...
  /usr/lib/python3/dist-packages/http_parser/pyparser.py:22:
SyntaxWarning: invalid escape sequence '\d'
    VERSION_RE = re.compile("HTTP/(\d+).(\d+)")
  /usr/lib/python3/dist-packages/http_parser/pyparser.py:23:
SyntaxWarning: invalid escape sequence '\d'
    STATUS_RE = re.compile("(\d{3})\s*(\w*)")
  /usr/lib/python3/dist-packages/http_parser/pyparser.py:24:
SyntaxWarning: invalid escape sequence '\['
    HEADER_RE = re.compile("[\x00-\x1F\x7F()<>@,;:\[\]={} \t\\\\\"]")

#1085919#8
Date:
2026-05-28 16:33:13 UTC
From:
To:
Hello,

Bug #1085919 in python-http-parser reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/python-http-parser/-/commit/64dac83e4d69ba62dc0530d7617c5d76fc404c56
------------------------------------------------------------------------
fix syntaxwarnings (Closes: #1085919)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1085919