From: Robert Bradshaw Date: Fri, 11 Sep 2009 02:33:47 +0000 (-0700) Subject: fix aquire_gil tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=23e1262c768889bef2170c80da9c2665d7a5f2e5;p=cython.git fix aquire_gil tests --- 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