From 23e1262c768889bef2170c80da9c2665d7a5f2e5 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 10 Sep 2009 19:33:47 -0700 Subject: [PATCH] fix aquire_gil tests --- Cython/Compiler/Nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index d2556284..a1efb255 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -1624,6 +1624,7 @@ class DefNode(FuncDefNode): is_wrapper = 0 decorators = None entry = None + acquire_gil = 0 def __init__(self, pos, **kwds): @@ -1876,7 +1877,6 @@ class DefNode(FuncDefNode): self.analyse_default_values(env) if env.is_py_class_scope: self.synthesize_assignment_node(env) - self.acquire_gil = 0 def synthesize_assignment_node(self, env): import ExprNodes -- 2.26.2