diff --git a/pythonbpf/expr_pass.py b/pythonbpf/expr_pass.py index aee2ab1..2c734ea 100644 --- a/pythonbpf/expr_pass.py +++ b/pythonbpf/expr_pass.py @@ -228,6 +228,8 @@ def _handle_comparator(func, builder, op, lhs, rhs): ast.LtE: "<=", ast.Gt: ">", ast.GtE: ">=", + ast.Is: "==", + ast.IsNot: "!=", } if type(op) not in comparison_ops: