[Bug 1867776] Re: knownhosts.py:492: SyntaxWarning: "is" with a li teral. Did you mean "=="?

Kai Kasurinen 1867776 at bugs.launchpad.net
Sat May 16 19:51:11 UTC 2020


Fixed in versions twisted/18.9.0-7, twisted/18.9.0-8,
twisted/19.10.0~rc1-1

** Bug watch added: Debian Bug tracker #948560
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948560

** Also affects: twisted (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948560
   Importance: Unknown
       Status: Unknown

** Changed in: twisted (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to twisted in Ubuntu.
https://bugs.launchpad.net/bugs/1867776

Title:
  knownhosts.py:492: SyntaxWarning: "is" with a li teral. Did you mean
  "=="?

Status in twisted package in Ubuntu:
  Fix Released
Status in twisted package in Debian:
  Unknown

Bug description:
  apt-cache policy python3-twisted
  python3-twisted:
    Installed: 18.9.0-6ubuntu1
    Candidate: 18.9.0-6ubuntu1
    Version table:
   *** 18.9.0-6ubuntu1 500
          500 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 Packages
          100 /var/lib/dpkg/status

  
  Setting up python3-twisted (18.9.0-6ubuntu1) ... 
  /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported i
  n binary mode, the default buffer size will be used
    self.stdin = io.open(p2cwrite, 'wb', bufsize)                                                     
  /usr/lib/python3/dist-packages/twisted/conch/client/knownhosts.py:492: SyntaxWarning: "is" with a li
  teral. Did you mean "=="? 
    if keytype is "EC":

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/twisted/+bug/1867776/+subscriptions



More information about the foundations-bugs mailing list