[IronPython] Function Signatures - inspect.getargspec
Michael Foord
fuzzyman at voidspace.org.uk
Mon Dec 25 01:27:14 CET 2006
Hello all,
I'm trying to determine function signatures from IronPython.
In Python I'd use 'inspect.getargspec'.
In IronPython this raises a 'NotImplementedError'.
If I do an 'import clr' it enables extra attributes on a function. I can
get at the 'ArgCount', 'ArgNames' and 'Defaults' (also exposed as
'func_defaults').
I can't get at varargs and varkwargs. Is this possible ?
Alternatively, consider this a request to get 'getargspec' working and
I'll have to use CPython...
Michael Foord
http://www.voidspace.org.uk/python/articles.shtml
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.26/600 - Release Date: 23/12/2006
More information about the Ironpython-users
mailing list