On 1 Nov 1999, Hrvoje Niksic wrote:
> Deirdre Saoirse <[EMAIL PROTECTED]> writes:
>
> > <#include rant on C code not being able to have abstract \
> > non-instantiable classes>
>
> But we're using Python, aren't we? :-)
Yes, but the C underlayment has some oddities.
> I think the following check in "abstract" classes' __init__() would
> work:
>
> assert self.__class__ != GtkRuler
>
> James, what do you think?
:)
--
_Deirdre * http://www.linuxcabal.net * http://www.deirdre.net
"Mars has been a tough target" -- Peter G. Neumann, Risks Digest Moderator
"That's because the Martians keep shooting things down." -- Harlan Rosenthal
<[EMAIL PROTECTED]>, retorting in Risks Digest 20.60
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]