Commit 23e1262c authored by Robert Bradshaw's avatar Robert Bradshaw

fix aquire_gil tests

parent a0414c53
...@@ -1624,6 +1624,7 @@ class DefNode(FuncDefNode): ...@@ -1624,6 +1624,7 @@ class DefNode(FuncDefNode):
is_wrapper = 0 is_wrapper = 0
decorators = None decorators = None
entry = None entry = None
acquire_gil = 0
def __init__(self, pos, **kwds): def __init__(self, pos, **kwds):
...@@ -1876,7 +1877,6 @@ class DefNode(FuncDefNode): ...@@ -1876,7 +1877,6 @@ class DefNode(FuncDefNode):
self.analyse_default_values(env) self.analyse_default_values(env)
if env.is_py_class_scope: if env.is_py_class_scope:
self.synthesize_assignment_node(env) self.synthesize_assignment_node(env)
self.acquire_gil = 0
def synthesize_assignment_node(self, env): def synthesize_assignment_node(self, env):
import ExprNodes import ExprNodes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment