[Bug 1888360] [NEW] focal/python3.8: SyntaxWarning: "is not" with a literal. Did you mean "!="?
Alberto Donato
1888360 at bugs.launchpad.net
Tue Jul 21 08:42:28 UTC 2020
Public bug reported:
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
** Affects: python-netaddr (Ubuntu)
Importance: Undecided
Status: New
** Tags: focal
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-netaddr in Ubuntu.
https://bugs.launchpad.net/bugs/1888360
Title:
focal/python3.8: SyntaxWarning: "is not" with a literal. Did you mean
"!="?
Status in python-netaddr package in Ubuntu:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-netaddr/+bug/1888360/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list