mark the real argument name mangling problem as FIXME, the last fix was more of a...
authorStefan Behnel <scoder@users.berlios.de>
Thu, 26 Mar 2009 07:06:17 +0000 (08:06 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Thu, 26 Mar 2009 07:06:17 +0000 (08:06 +0100)
Cython/Compiler/Nodes.py

index 0d019501070bf5a700947c98b64fbf46993da422..0de02d9782ceaed75478376a7cf300128de535f4 100644 (file)
@@ -1450,6 +1450,8 @@ class CFuncDefNode(FuncDefNode):
             code.putln('if (%s) {' % Naming.optional_args_cname)
             for arg in self.args:
                 if arg.default:
+                    # FIXME: simple name prefixing doesn't work when
+                    # argument name mangling is in place
                     code.putln('if (%s->%sn > %s) {' % (Naming.optional_args_cname, Naming.pyrex_prefix, i))
                     declarator = arg.declarator
                     while not hasattr(declarator, 'name'):