Your message dated Thu, 05 Feb 2026 21:34:52 +0000
with message-id <[email protected]>
and subject line Bug#1118256: fixed in hash-slinger 3.5-0.1
has caused the Debian Bug report #1118256,
regarding SyntaxWarning: invalid escape sequence
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1118256: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118256
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hash-slinger
Version: 3.1-1.2
Severity: normal
Tags: patch
Running /usr/bin/tla Python 3.13 about escaped sequences.
For example \d is treated as a Unicode escape character if not used in a raw
string.
Using raw strings solves the issue.
Fixed in master:
https://github.com/letoams/hash-slinger/pull/48
I attach a patch that solves this issue in hash-slinger 3.1-1.2.
-- System Information:
Debian Release: 13.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.48+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages hash-slinger depends on:
ii ca-certificates 20250419
ii dns-root-data 2024071801
ii openssh-client 1:10.0p1-7
ii python3 3.13.5-1
ii python3-dnspython 2.7.0-1
ii python3-gnupg 0.5.4-1
ii python3-m2crypto 0.42.0-3
ii python3-unbound 1.22.0-2
hash-slinger recommends no packages.
hash-slinger suggests no packages.
-- no debconf information
--- /usr/bin/tlsa.ORIG 2023-10-05 00:00:00.000000000 +0200
+++ /usr/bin/tlsa 2025-10-17 09:16:28.584236665 +0200
@@ -495,7 +495,7 @@
"""When instanciated, this class contains all the fields of a TLSA
record.
"""
def __init__(self, name, usage, selector, mtype, cert):
- """name is the name of the RR in the format:
/^(_\d{1,5}|\*)\._(tcp|udp|sctp)\.([a-z0-9]*\.){2,}$/
+ r"""name is the name of the RR in the format:
/^(_\d{1,5}|\*)\._(tcp|udp|sctp)\.([a-z0-9]*\.){2,}$/
usage, selector and mtype should be an integer
cert should be a hexidecimal string representing the
certificate to be matched field
"""
@@ -513,7 +513,7 @@
def getRecord(self, generic=False):
"""Returns the RR string of this TLSARecord, either in rfc
(default) or generic format"""
if generic:
- return '%s IN TYPE52 \# %s %s%s%s%s' % (self.name,
(len(self.cert)//2)+3 , self._toHex(self.usage), self._toHex(self.selector),
self._toHex(self.mtype), self.cert)
+ return r'%s IN TYPE52 \# %s %s%s%s%s' % (self.name,
(len(self.cert)//2)+3 , self._toHex(self.usage), self._toHex(self.selector),
self._toHex(self.mtype), self.cert)
return '%s IN TLSA %s %s %s %s' % (self.name, self.usage,
self.selector, self.mtype, self.cert)
def _toHex(self, val):
@@ -554,20 +554,20 @@
def isNameValid(self):
"""Check if the name if in the correct format"""
- if not
re.match('^(_\d{1,5}|\*)\._(tcp|udp|sctp)\.([-a-z0-9]*\.){2,}$', self.name):
+ if not
re.match(r'^(_\d{1,5}|\*)\._(tcp|udp|sctp)\.([-a-z0-9]*\.){2,}$', self.name):
return False
return True
def getProtocol(self):
"""Returns the protocol based on the name"""
- return re.split('\.', self.name)[1][1:]
+ return re.split(r'\.', self.name)[1][1:]
def getPort(self):
"""Returns the port based on the name"""
- if re.split('\.', self.name)[0][0] == '*':
+ if re.split(r'\.', self.name)[0][0] == '*':
return '*'
else:
- return re.split('\.', self.name)[0][1:]
+ return re.split(r'\.', self.name)[0][1:]
class ARecord:
"""An object representing an A Record (IPv4 address)"""
--- End Message ---
--- Begin Message ---
Source: hash-slinger
Source-Version: 3.5-0.1
Done: Bastian Germann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
hash-slinger, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastian Germann <[email protected]> (supplier of updated hash-slinger 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 26 Jan 2026 20:53:48 +0100
Source: hash-slinger
Architecture: source
Version: 3.5-0.1
Distribution: unstable
Urgency: medium
Maintainer: Debian DNS Team <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 1118256 1126463
Changes:
hash-slinger (3.5-0.1) unstable; urgency=medium
.
* Non-maintainer upload
* Import new upstream version (Closes: #1126463, #1118256)
* d/copyright: correct Source
Checksums-Sha1:
62b41099bbf00d4f01f11fc327c449b98942b113 1800 hash-slinger_3.5-0.1.dsc
008783aef5ed46a8db95331b29e2ba22e0422916 39226 hash-slinger_3.5.orig.tar.gz
bc13f2802bcc6a7f5c87f0b181db19119df5155a 3760
hash-slinger_3.5-0.1.debian.tar.xz
efea36d6d08e13daa838b44d6d2aa9c08a02a38e 6388
hash-slinger_3.5-0.1_source.buildinfo
Checksums-Sha256:
97e2d32fa9c21df9da91d6c3b4a92b8015d4de160c32b6ff409e1f73997857ec 1800
hash-slinger_3.5-0.1.dsc
5a03bfeba39134773e0a98b1607521b5b70fba58173a20deb7e032cc7e949bcb 39226
hash-slinger_3.5.orig.tar.gz
28b2faa874169f992d419c963446fda589ba3c71075e907ce92f02580f13c2a1 3760
hash-slinger_3.5-0.1.debian.tar.xz
4f950ad850ca9f859c8e2842354f4c014decad2b75a32bfd898bfa8cd7108f16 6388
hash-slinger_3.5-0.1_source.buildinfo
Files:
8a32ad2419cdb853aba41942eecb9636 1800 utils optional hash-slinger_3.5-0.1.dsc
417a48d0459335e2e9fa0b70c82d3556 39226 utils optional
hash-slinger_3.5.orig.tar.gz
6c32c980fe5bfa9d7ecfa7ee0af9651e 3760 utils optional
hash-slinger_3.5-0.1.debian.tar.xz
eb06828db98aabe35f6c69a1bc0476df 6388 utils optional
hash-slinger_3.5-0.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAml3zSMQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFJn6DADIkCSXx8q78xn37EIqGi7vIcfWW+yejpTm
j8KrONEqjzQH3EvFW49r6WFebdNNDZTEEWBqDTA6QVE1agYetUcEVJhkWaFJPQWA
8xuYh8EKlSyHRdc0Z9673eeigVgXnP5IA8+sLdhD6TBDcwgZuTe3rHIVSTrQ7oUB
XPZx8CRG6EZbaeY//rJN3UKO11IT3uPtqUsJ019NmYRRxro5P881BdF8U3vKh4wb
wbUgwk8QwwM6qAg+P8vQsd8UHNcbIWpQZBHvDhc5takbTw4W/oBFw12V/bFKRc5n
oZv7ljBB+z3cF67SkkW97ZPH7nfxxNp7XpmGanm0fzea2XCtTNMCP/lCZvL7E3DV
Vzu8Q6MC0sQYRJcnh1jH+8vQZWSOWcgMYyv9gn7T3ozJvPEMUGtogvL1txRdP4eC
GYgWPqU80OFogGL3MbtiwdinHYDPf3kroOQh7G7N4fhvQ1d31xWyhz7mtwOP9q6E
GyG4qhM+kArsYO32Q0azerXWbyEsC9k=
=kW41
-----END PGP SIGNATURE-----
pgpdz5oX7gKOn.pgp
Description: PGP signature
--- End Message ---