[Python-ideas] [Python-Dev] python and super

Nick Coghlan ncoghlan at gmail.com
Mon Apr 18 04:30:26 CEST 2011


On Mon, Apr 18, 2011 at 9:35 AM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Michael Foord wrote:
>>
>> On 17/04/2011 14:09, Nick Coghlan wrote:
>
>>> just so people can
>>> fail to think correctly about cooperative super() designs
>
>> I disagree with this categorisation. It is particularly for where you
>> *are* thinking about cooperative super calls.
>
> I think what Nick means is that, although *you* might be
> thinking about super calls, the people who wrote the classes
> you're using did *not* (otherwise they would have included
> the required super calls). So you're trying to mix classes
> that weren't designed to be mixed together, which is likely
> to lead to many more problems than just missing super calls.

Yep, that's what I meant.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-ideas mailing list