netaddr / netaddr

A network address manipulation library for Python

Home Page:https://netaddr.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

""is not" with a literal." SyntaxWarning.

gjvc opened this issue · comments

netaddr/strategy/__init__.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="?
This warning is very annoying. It pops up every time I start my flask server (I use netaddr for access control by client IP address.)

(Python 3.8)

Fixed in 0.7.20.