focal/python3.8: SyntaxWarning: "is not" with a literal. Did you mean "!="?

Bug #1888360 reported by Alberto Donato
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-netaddr (Ubuntu)
New
Undecided
Unassigned

Bug Description

In focal, with python3.8, netaddr shows the following warning:

/usr/lib/python3/dist-packages/netaddr/strategy/__init__.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if word_sep is not '':

This was fixed upstream by this simple patch: https://github.com/netaddr/netaddr/commit/cc2a9bb31fae00f18fcdbd97a29b643581fc2a45

Tags: focal
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.