Method binding fix.
authorRobert Bradshaw <robertwb@math.washington.edu>
Sun, 31 Jan 2010 11:45:27 +0000 (03:45 -0800)
committerRobert Bradshaw <robertwb@math.washington.edu>
Sun, 31 Jan 2010 11:45:27 +0000 (03:45 -0800)
Cython/Compiler/Nodes.py

index d230f3314159aae072227c833068fc8529f85807..c0816ee47dd041879b65e355ff485f9edaea35d8 100644 (file)
@@ -1481,6 +1481,9 @@ class CFuncDefNode(FuncDefNode):
             self.analyse_default_values(env)
         self.acquire_gil = self.need_gil_acquisition(self.local_scope)
 
+    def needs_assignment_synthesis(self, env, code=None):
+        return False
+
     def generate_function_header(self, code, with_pymethdef, with_opt_args = 1, with_dispatch = 1, cname = None):
         arg_decls = []
         type = self.type