[Python.NET] delegate funkiness
Brian Lloyd
Brian.Lloyd at revolution.com
Mon Jun 5 16:14:04 CEST 2006
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: pythondotnet-bounces at python.org
> [mailto:pythondotnet-bounces at python.org] On Behalf Of Brian Lloyd
> Sent: Monday, June 05, 2006 9:28 AM
> To: Mathew Yeates; pythondotnet at 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 at python.org
> http://mail.python.org/mailman/listinfo/pythondotnet
>
>
More information about the PythonDotNet
mailing list