From: Robert Bradshaw Date: Sun, 31 Jan 2010 11:45:27 +0000 (-0800) Subject: Method binding fix. X-Git-Tag: 0.13.beta0~2^2~105 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=635de86476b2bc7b472a8293b3de8c44c5015ac8;p=cython.git Method binding fix. --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index d230f331..c0816ee4 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -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