Hello all,
The following seems to crash the IronPython 2.0.1 interpreter:
>>> from System import Action
>>> Action(lambda: foo)
Obviously it's invalid - but it kills the interpreter rather than
raising an exception.
I'm doing some introspection and I'd like to work out the return types
of methods of .NET objects. One route would be to parse the docstring. :-)
Another way would be to get the MethodInfo. For an arbitrary .NET type
from inside IronPython how do I get a System.Type instance representing
the type? (I'd quite like an answer to that question - but if you also
have a suggestion as to a better way that would be great as well...)
Thanks
Michael
--
http://www.ironpythoninaction.com/
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com