#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

#1085919#15
Date:
2026-08-10 10:20:41 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-http-parser, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1085919@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated python-http-parser package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 10 Aug 2026 11:59:40 +0200
Source: python-http-parser
Architecture: source
Version: 0.9.0+ds-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1085919
Changes:
 python-http-parser (0.9.0+ds-3) unstable; urgency=medium
 .
   * Team upload.
   * Rewrite d/watch in v5 format
   * Disable useless Salsa CI jobs
   * Drop "Rules-Requires-Root: no": it is the default now
   * Bump Standards-Version to 4.7.4, drop Priority: tag
   * Switch to debhelper-compat 14
   * Reformat the Last-Update date as ISO YYYY-MM-DD.
 .
   [ Ananthu C V ]
   * Fix syntaxwarnings (Closes: #1085919)
Checksums-Sha1:
 c41d06072ea648904d7750bfe8626b6d5fc6b806 2178 python-http-parser_0.9.0+ds-3.dsc
 2282bd042c858b56e89817831cd595bfa36f25de 4740 python-http-parser_0.9.0+ds-3.debian.tar.xz
 0860f53bccacecd70d53892d7ca047bb9b19bd1d 7426 python-http-parser_0.9.0+ds-3_source.buildinfo
Checksums-Sha256:
 a82af9981ff5e03bfe515e13616d43e2819660e452e5e8f506eb06ea96a00eba 2178 python-http-parser_0.9.0+ds-3.dsc
 979ecd15a3c747cf401d392adfa43e77a3c0f9fbf84d540432ede1cc45b0528a 4740 python-http-parser_0.9.0+ds-3.debian.tar.xz
 7bc2603f0478c1ad16e6da60f10a5ab8112ac1184594e7ee2f75d4a3a5339189 7426 python-http-parser_0.9.0+ds-3_source.buildinfo
Files:
 b3e2979236a24ded3b9943a0f640adbf 2178 python optional python-http-parser_0.9.0+ds-3.dsc
 068ec5d1794c704178387d4b16e7e434 4740 python optional python-http-parser_0.9.0+ds-3.debian.tar.xz
 98f18b50c36e74e8c205feb9901335fd 7426 python optional python-http-parser_0.9.0+ds-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmp5oV8RHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBoiERAAuGKMgakJyxZ04spYS12EXA3qF5XvCbLO
KnalOuCdcv6mIypCMjmwstXtVlmfPlcReVK78EARxm0MqndLH8fOK+e5ik9FuUjU
2jisRuNMUugHEC78NYnxhiHofd2+I34A4yKO4w4b/mtt02Eh4jS5CoTYo8fsKBkn
OvvXZjtCtPrFBGTZi7xxBMr3w8uGVKMgR7SNjVM2LZnIM1pseUPoyaaM4uLIuGCh
C+7LEOFb19ydHVbrrZRdrn4yWygDKVTxWFpZ7lqBEeRmWWXShN1qNK6Ygcc1tk9q
uODzU2rRKyaCCVmcaMPHlkniWURjr6kIj1a6bgCiWp8JOymT0aMOmQgEDuQ4CPO9
OFi4JVzqjDpvNetSeWKbB6kDRBEfwTVGFRL911GvzLlgdEjE/cOq+NXzWvllhUOO
5Rl6awcfxApx9K8csTPvi5Dt4Q2SVnF4zdr7UvCxoth++I6xStukf/NBJF9zMF0P
J173vPJjTl7s95/3Xw0gbRKhqqmbJ2j6w920yRFJ8K0fK0iwzDKQ/fTkBjvfX53c
f3FnN+Jh6N3iiO2vJtz5/asNbqXlhXsYrpo5ZEKerfbkCHq756Ld3qSQDttvTGYM
NPCLSznUdWa7tohc3GrzPv0o6ZFV1RyDFCsRXVed2Jq4m1bG63vsMj9alx2QwwX8
HUKfqDETOi4=
=qi+0
-----END PGP SIGNATURE-----