As commented by Doug in comment #1 changing != to "is not" is fixing the issue, but I wonder why it occurs only for python3.
As commented by Doug in comment #1 changing != to "is not" is fixing the issue, but I wonder why it occurs only for python3.