2011/7/12 Stefan Behnel :
> mark florisson, 12.07.2011 12:11:
>>
>> On 12 July 2011 11:46, Vitja Makarov wrote:
>>>
>>> 2011/7/12 Stefan Behnel
Vitja Makarov, 12.07.2011 09:46:
>
> About cdef classes: probably it's better to
> transform super().method(...) into direct form, e.
mark florisson, 12.07.2011 12:11:
On 12 July 2011 11:46, Vitja Makarov wrote:
2011/7/12 Stefan Behnel
Vitja Makarov, 12.07.2011 09:46:
About cdef classes: probably it's better to
transform super().method(...) into direct form, e.g. BaseClass.method(self,
...)
Except when it doesn't work. ;
On 12 July 2011 11:46, Vitja Makarov wrote:
> 2011/7/12 Stefan Behnel
>>
>> Vitja Makarov, 12.07.2011 09:46:
>>>
>>> About cdef classes: probably it's better to
>>> transform super().method(...) into direct form, e.g. BaseClass.method(self,
>>> ...)
>>
>> Except when it doesn't work. ;)
>>
>> A
2011/7/12 Stefan Behnel
>
> Vitja Makarov, 12.07.2011 09:46:
>>
>> About cdef classes: probably it's better to
>> transform super().method(...) into direct form, e.g. BaseClass.method(self,
>> ...)
>
> Except when it doesn't work. ;)
>
> A
> / \
> B C
> \ /
> D
>
> The MRO here is D-B-A-C.
Vitja Makarov, 12.07.2011 09:46:
About cdef classes: probably it's better to
transform super().method(...) into direct form, e.g. BaseClass.method(self,
...)
Except when it doesn't work. ;)
A
/ \
B C
\ /
D
The MRO here is D-B-A-C. If C unconditionally calls A.method(), A's
imple
2011/7/6 Stefan Behnel
> Vitja Makarov, 06.07.2011 09:05:
>
> 2011/7/6 Stefan Behnel:
>>
>>> Stefan Behnel, 05.07.2011 10:04:
>>>
Vitja Makarov, 05.07.2011 09:17:
>
> 2011/7/5 Stefan Behnel:
>
>>
>> Vitja Makarov, 05.07.2011 08:21:
>>
>>>
>>> I was