[IronPython] [Hosting] Cannot convert callable class to delegate

Jeff Hardy jdhardy at gmail.com
Sat Nov 22 19:33:54 CET 2008


Hi,
Attempting to convert a class with a __call__() member to a delagte
causes an ArgumentNullException; presumably it should create a
delegate, as it is a valid callable object. It can be worked around be
using a function that forwards to the class, but it's an annoyance to
have to do that.

I have opened #19724
(http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=19724);
I mention it here because I would really like to see it fixed for 2.0.

-Jeff



More information about the Ironpython-users mailing list