Stefan Behnel, 24.02.2010 17:23:
> Lisandro Dalcin, 24.02.2010 17:08:
>> Is the patch below the correct way to fix it?:
>>
>> diff -r e16a6487e8c2 Cython/Compiler/ExprNodes.py
>> --- a/Cython/Compiler/ExprNodes.py   Wed Feb 24 14:23:58 2010 +0100
>> +++ b/Cython/Compiler/ExprNodes.py   Wed Feb 24 13:06:31 2010 -0300
>> @@ -2279,7 +2279,7 @@
>>                      self.base.py_result(),
>>                      self.start_code(),
>>                      self.stop_code(),
>> -                    rhs.result()))
>> +                    rhs.py_result()))
>>          else:
>>              start_offset = ''
>>              if self.start:
> 
> Looks reasonable at first glance. Could you add the above code as a test
> case? I'll take a closer look then.

Applied. Good catch!

Stefan

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to