[Python.NET] delegate funkiness
Mathew Yeates
myeates at jpl.nasa.gov
Mon Jun 5 18:57:41 CEST 2006
Cool. Thanks
-Mathew
Brian Lloyd wrote:
> 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