Debian Bug report logs - #1087089
snmpsim: Python SyntaxWarning

version graph

Package: src:snmpsim; Maintainer for src:snmpsim is Vincent Bernat <[email protected]>;

Reported by: Graham Inggs <[email protected]>

Date: Fri, 8 Nov 2024 16:21:01 UTC

Severity: normal

Found in version snmpsim/0.4.5-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Vincent Bernat <[email protected]>:
Bug#1087089; Package src:snmpsim. (Fri, 08 Nov 2024 16:21:02 GMT) (full text, mbox, link).


Acknowledgement sent to Graham Inggs <[email protected]>:
New Bug report received and forwarded. Copy sent to Vincent Bernat <[email protected]>. (Fri, 08 Nov 2024 16:21:02 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Graham Inggs <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: snmpsim: Python SyntaxWarning
Date: Fri, 8 Nov 2024 15:17:28 -0100
Source: snmpsim
Version: 0.4.5-1
User: [email protected]
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/snmpsim.html


  Setting up snmpsim (0.4.5-1) ...
  /usr/lib/python3/dist-packages/snmpsim/grammar/walk.py:39:
SyntaxWarning: invalid escape sequence '\('
    match = re.match('.*?\((\-?[0-9]+)\)', value) #
.1.3.6.1.2.1.2.2.1.3.1 = INTEGER: ethernetCsmacd(6)
  /usr/lib/python3/dist-packages/snmpsim/grammar/walk.py:43:
SyntaxWarning: invalid escape sequence '\-'
    match = re.match('(\-?[0-9]+)\s.+', value) # .1.3.6.1.2.1.4.13.0 =
INTEGER: 60 seconds
  /usr/lib/python3/dist-packages/snmpsim/grammar/walk.py:82:
SyntaxWarning: invalid escape sequence '\-'
    match = re.match('(\-?[0-9]+)\s.+', value) #
.1.3.6.1.2.1.4.31.1.1.47.1 = Gauge32: 10000 milli-seconds
  /usr/lib/python3/dist-packages/snmpsim/grammar/walk.py:91:
SyntaxWarning: invalid escape sequence '\('
    match = re.match('.*?\(([0-9]+)\)', value)



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 16:08:08 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.