On Jun 1, 3:44 am, Piet van Oostrum wrote:
> > Piet van Oostrum (I) wrote:
> >I> But your class definition:
> >I> class C3(C1, C2):
> >I> says that C1 should be before C2. Conflict!!
> >I> Change it to class C3(C2, C1):
>
> Of course the C1 is then superfluous.
>
> I wonder why you want this.
On Jun 1, 2:38 am, Piet van Oostrum wrote:
> > LittleGrasshopper (L) wrote:
> >L> On May 31, 3:59 pm, Carl Banks wrote:
> >>> On May 31, 3:52 pm, LittleGrasshopper wrote:
>
> >>> > This is some simple code which I got from Guido's paper on the
> >>> > unification of classes and types, which
> Piet van Oostrum (I) wrote:
>I> But your class definition:
>I> class C3(C1, C2):
>I> says that C1 should be before C2. Conflict!!
>I> Change it to class C3(C2, C1):
Of course the C1 is then superfluous.
I wonder why you want this. What is the problem you want to solve?
Apart from the m
> LittleGrasshopper (L) wrote:
>L> On May 31, 3:59 pm, Carl Banks wrote:
>>> On May 31, 3:52 pm, LittleGrasshopper wrote:
>>>
>>>
>>>
>>> > This is some simple code which I got from Guido's paper on the
>>> > unification of classes and types, which Arnaud suggested to improve my
>>> > kn
On May 31, 4:11 pm, LittleGrasshopper wrote:
> On May 31, 3:59 pm, Carl Banks wrote:
>
>
>
> > On May 31, 3:52 pm, LittleGrasshopper wrote:
>
> > > This is some simple code which I got from Guido's paper on the
> > > unification of classes and types, which Arnaud suggested to improve my
> > > kn
On May 31, 3:59 pm, Carl Banks wrote:
> On May 31, 3:52 pm, LittleGrasshopper wrote:
>
>
>
> > This is some simple code which I got from Guido's paper on the
> > unification of classes and types, which Arnaud suggested to improve my
> > knowledge of metaclasses:
>
> > class M1(type):
> > pass
On May 31, 3:52 pm, LittleGrasshopper wrote:
> This is some simple code which I got from Guido's paper on the
> unification of classes and types, which Arnaud suggested to improve my
> knowledge of metaclasses:
>
> class M1(type):
> pass
> class M2(M1):
> pass
> class M3(M2):
> pass
>
On May 31, 3:52 pm, LittleGrasshopper wrote:
> This is some simple code which I got from Guido's paper on the
> unification of classes and types, which Arnaud suggested to improve my
> knowledge of metaclasses:
>
> class M1(type):
> pass
> class M2(M1):
> pass
> class M3(M2):
> pass
>
This is some simple code which I got from Guido's paper on the
unification of classes and types, which Arnaud suggested to improve my
knowledge of metaclasses:
class M1(type):
pass
class M2(M1):
pass
class M3(M2):
pass
class C1:
__metaclass__ = M1
class C2(C1):
__metaclass__ =