[Python-modules-team] Bug#948560: Bug#948560: Use of 'is' token for comparing string in knownhosts.py

Emmanuel Arias emmanuelarias30 at gmail.com
Fri Jan 10 20:36:19 GMT 2020


Hi,

I can see that on salsa isn't the last version (18.9.0-6)?

The version 19.2.0 is on experimental but  isn't on salsa either


Cheers,
Arias Emmanuel
@eamanu
http://eamanu.com

El vie., 10 de ene. de 2020 a la(s) 03:39, Witold Baryluk
(witold.baryluk at gmail.com) escribió:
>
> Package: python3-twisted
> Version: 18.9.0-6
> Severity: normal
>
>
> During update to new python3-twisted:
>
> 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":
>
>
> It appears to be fixed in twisted 19.2.0+ tho:
> https://github.com/twisted/twisted/commit/de05fee07a39d3415e4a3e9738d141b43b54f95c
> which was released almost a year ago.
>
>
>
> -- System Information:
> Debian Release: bullseye/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 5.3.0-2-amd64 (SMP w/12 CPU cores)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (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              18.2.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.6.0-4
>
> 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>
> ii  python3-serial    3.4-5
> pn  python3-tk        <none>
> pn  python3-wxgtk2.8  <none>
>
> -- no debconf information
>
> _______________________________________________
> Python-modules-team mailing list
> Python-modules-team at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team



More information about the Python-modules-team mailing list