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

Dino Viehland dinov at microsoft.com
Mon Dec 1 20:26:22 CET 2008


Thanks for reporting & opening the bug.  The fix for this is likely fairly easy but I don't think we'd spin a new 2.0 build for just this issue because it isn't really blocking anything as you have a work around.

That being said it would certainly be something we'd fix for 2.0.1 and we don't expect the time between 2.0 and 2.0.1 to be particularly long.  But if we were to spin a new 2.0 build for some other reason (which I'm a little worried we might need to do) we might just include this fix.

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Jeff Hardy
Sent: Saturday, November 22, 2008 10:34 AM
To: Discussion of IronPython
Subject: [IronPython] [Hosting] Cannot convert callable class to delegate

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
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list