focal/python3-netaddr : SyntaxWarning: "is not" with a literal
Bug #1878985 reported by
Harry Coin
This bug report is a duplicate of:
Bug #1877792: jmespath/netaddr SyntaxWarning: "is" with a literal when installing ansible..
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-netaddr (Debian) |
Fix Released
|
Unknown
|
|||
python-netaddr (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Setting up python3-netaddr (0.7.19-3) ...
/usr/lib/
if word_sep is not '':
'is' and == are not the same, tests will fail that succeeded on some x86 cpython platforms for other than 8 bit literals.
These bugs are picked up on python3.8, included with focal, not seen on 3.7/eoan.
Changed in python-netaddr (Debian): | |
status: | Unknown → Fix Released |
tags: | added: focal |
To post a comment you must log in.
python-netaddr (0.7.19-4) unstable; urgency=medium
* Drop python2 support; Closes: #937942 patches/ PR200.patch
* debian/
- address SyntaxWarning revealed by python3.8; Closes: #950787