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

TJ ubuntu at iam.tj
Tue Mar 17 13:27:54 UTC 2020


Public bug reported:

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":

** Affects: twisted (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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