[Debian-med-packaging] Bug#1079359: SyntaxWarning: invalid escape sequence '\['
Étienne Mollier
emollier at debian.org
Thu Aug 22 17:06:18 BST 2024
Package: python3-vcf
Version: 0.6.8+git20170215.476169c-10
Severity: minor
Tags: newcomer upstream
While installing python3-vcf, I noticed the following Python
SyntaxWarning in the installation output:
Setting up python3-vcf (0.6.8+git20170215.476169c-10+b1) ...
/usr/lib/python3/dist-packages/vcf/parser.py:278: SyntaxWarning: invalid escape sequence '\['
self._alt_pattern = re.compile('[\[\]]')
/usr/lib/python3/dist-packages/vcf/parser.py:536: SyntaxWarning: invalid escape sequence '\['
remoteOrientation = (re.search('\[', str) is not None)
Converting the affected regexes to raw strings (r'…') would
probably be the way to go to fix this minor issue.
Have a nice day, :)
--
.''`. Étienne Mollier <emollier at debian.org>
: :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
`. `' sent from /dev/pts/3, please excuse my verbosity
`- on air: Green Lung - The Ritual Tree
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20240822/2e59c57c/attachment.sig>
More information about the Debian-med-packaging
mailing list