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. /me is trying to put together a solution for the issue Michael raised: inspect.getargspec(). -- Seo Sanghyeon _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
