Lisandro Dalcin, 12.08.2010 16:00:
> On 12 August 2010 03:06, Stefan Behnel wrote:
>>
>> Py2's __long__ is the closest equivalent to __int__ in Py3, so I think the
>> case that a user defines a __long__ method but no __int__ method should let
>> Cython generate an __int__ method in Py3.
>
> That's how things work. I've implemented such behavior long ago.

Well, that's how it used to be, at least, and I think that's how it should 
work in the future.

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

Reply via email to