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

_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to