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

Kar, Sujit kar at musc.edu
Mon Nov 24 23:03:05 CET 2008



----- Original Message -----
From: users-bounces at lists.ironpython.com <users-bounces at lists.ironpython.com>
To: Discussion of IronPython <users at lists.ironpython.com>
Sent: Sat Nov 22 13:33:54 2008
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