fix aquire_gil tests
authorRobert Bradshaw <robertwb@math.washington.edu>
Fri, 11 Sep 2009 02:33:47 +0000 (19:33 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Fri, 11 Sep 2009 02:33:47 +0000 (19:33 -0700)
Cython/Compiler/Nodes.py

index d255628460363ddf3376a473ba68ca8f6f189aa0..a1efb2558f91977d9aa3f75894121bbf9eced066 100644 (file)
@@ -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