From f2aaeb9dda991c2db5aa38252fe6e0a8a1ad6b3e Mon Sep 17 00:00:00 2001 From: jakkdl Date: Sat, 2 Sep 2023 15:51:50 +0200 Subject: [PATCH] fix name collision for node_stack on python 3.12 --- bugbear.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bugbear.py b/bugbear.py index 075a5ba..2366bbf 100644 --- a/bugbear.py +++ b/bugbear.py @@ -308,7 +308,6 @@ class BugBearVisitor(ast.NodeVisitor): filename = attr.ib() lines = attr.ib() b008_extend_immutable_calls = attr.ib(default=attr.Factory(set)) - node_stack = attr.ib(default=attr.Factory(list)) node_window = attr.ib(default=attr.Factory(list)) errors = attr.ib(default=attr.Factory(list)) futures = attr.ib(default=attr.Factory(set))