On 12/26/06, Sanghyeon Seo <[EMAIL PROTECTED]> wrote: > Eh, I realized that my previous take on this was flawed. IronPython's > FunctionN is *not* VarArgs. IronPython's FunctionX is used for both > VarArgs and KwArgs. > > In other words: > > def foo(a, b, c, d, e, f): pass # 6 arguments to force FunctionN > CO_VARARGS = 4 > print foo.func_code.co_flags & CO_VARARGS > > It prints 0 on CPython and 4 on IronPython.
Yeah - it's a bit of a mess all around. I opened issue #6805 for co_argcount and co_flags being wrong on the codeplex issue tracker. _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
