fuzzyman at voidspace.org.uk
Wed Dec 27 12:28:57 PST 2006
Sanghyeon Seo wrote:
> This patch fixes bugs in co_flags and co_argcount attributes of code objects.
> This patch lets inspect.getargspec() to avoid disassembling Python
> bytecode when anonymous tuple arguments are not present.
> This should suffice to let inspect.getargspec work on IronPython,
> except for anonymous tuple arguments.
Thanks for the work guys.
I need the anonymous tuple arguments so I've gone with a CPython
solution (and a host of messy workarounds to fake the .NET imports).
I hope the MS team can find a workaround to allow getargspec to work (an
alternative API on code objects to determine the args / keywargs).
All the best,
More information about the users