Update: I had an unboxing problem in the IL I was generating for delegates with value-type return types.
Its fixed in svn for the trunk. It'll get merged to the 1.x branch later when I get a few more things finished. -Brian > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Brian Lloyd > Sent: Monday, June 05, 2006 9:28 AM > To: Mathew Yeates; pythondotnet@python.org > Subject: Re: [Python.NET] delegate funkiness > > > > I have a delegate in python that returns a bool def returnFalse(): > > return False > > > > However, when this function is called from my c# compiled > .Net program > > it always sees a return value of True. Seen this before? > > (This is with the latest in svn) > > > > Mathew > > Strange -- no, I haven't seen anything like that before. But > I can reproduce it :( > > I've added a failing test case and I'll look into it. > > thx, > > -Brian > > _________________________________________________ > Python.NET mailing list - PythonDotNet@python.org > http://mail.python.org/mailman/listinfo/pythondotnet > > _________________________________________________ Python.NET mailing list - PythonDotNet@python.org http://mail.python.org/mailman/listinfo/pythondotnet