Re: Simple metaclass code failing

2009-06-01 Thread LittleGrasshopper
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.

Re: Simple metaclass code failing

2009-06-01 Thread LittleGrasshopper
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

Re: Simple metaclass code failing

2009-06-01 Thread Piet van Oostrum
> 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

Re: Simple metaclass code failing

2009-06-01 Thread Piet van Oostrum
> 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

Re: Simple metaclass code failing

2009-05-31 Thread LittleGrasshopper
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

Re: Simple metaclass code failing

2009-05-31 Thread LittleGrasshopper
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

Re: Simple metaclass code failing

2009-05-31 Thread Carl Banks
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 >

Re: Simple metaclass code failing

2009-05-31 Thread LittleGrasshopper
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 >