[Python-modules-team] Bug#953074: python3-twisted: conch/client/knownhosts.py:492: SyntaxWarning: "is" with a literal. Did you mean "=="?
Paul Wise
pabs at debian.org
Wed Mar 4 01:42:00 GMT 2020
Package: python3-twisted
Version: 18.9.0-6
Severity: normal
File: /usr/lib/python3/dist-packages/twisted/conch/client/knownhosts.py
Usertag: warnings
I got a warning from Python when upgrading python3-twisted recently:
Setting up python3-twisted (18.9.0-6) ...
/usr/lib/python3/dist-packages/twisted/conch/client/knownhosts.py:492: SyntaxWarning: "is" with a literal. Did you mean "=="?
if keytype is "EC":
-- System Information:
Debian Release: bullseye/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-twisted depends on:
ii python3 3.7.5-3
ii python3-attr 19.3.0-1
ii python3-automat 0.6.0-1
ii python3-constantly 15.1.0-1
ii python3-hamcrest 1.9.0-2
ii python3-hyperlink 19.0.0-1
ii python3-idna 2.6-2
ii python3-incremental 16.10.1-3.1
ii python3-openssl 19.0.0-1
ii python3-service-identity 18.1.0-5
ii python3-twisted-bin 18.9.0-6
ii python3-zope.interface 4.7.1-1
python3-twisted recommends no packages.
Versions of packages python3-twisted suggests:
pn python3-glade2 <none>
pn python3-gtk2 <none>
pn python3-pampy <none>
pn python3-qt4 <none>
pn python3-serial <none>
ii python3-tk 3.8.0-1
pn python3-wxgtk2.8 <none>
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200304/f225487a/attachment.sig>
More information about the Python-modules-team
mailing list