Class Variable Access and Assignment

Antoon Pardon apardon at forel.vub.ac.be
Fri Nov 4 03:14:16 EST 2005


Op 2005-11-03, Steven D'Aprano schreef <steve at REMOVETHIScyber.com.au>:
> On Thu, 03 Nov 2005 12:53:37 +0000, Antoon Pardon wrote:
>
>>> I don't suppose you'd care to enlighten us on what you'd regard as the 
>>> superior outcome?
>> 
>> No. I don't think a superior outcome is necessary to see that this is
>> not sane behaviour. I don't care that much on how it gets fixed.
>
> It isn't broken, there is nothing to fix. The code does precisely what the
> inheritance model promises to do.

That is not a contra argument. Delivering what is promissed says nothing
about the sanity of what is promissed. It is even possible that a number
of things that are sane in itself, produce something unsane when
combined or in certain circumstances.

-- 
Antoon Pardon



More information about the Python-list mailing list