Re: meta-class troubles

2010-08-30 Thread Ethan Furman
Chris Rebert wrote: Shouldn't meta= instead be metaclass= ? Xavier Ho wrote: > I think you need to have metaclass in the class statement, not just meta. Argh. Thank you both. I'm glad it was simple! ~Ethan~ -- http://mail.python.org/mailman/listinfo/python-list

Re: meta-class troubles

2010-08-30 Thread Xavier Ho
Actually, scrape what I said. I think you need to have metaclass in the class statement, not just meta. -Xav On 31 August 2010 00:16, Xavier Ho wrote: > Ethan, are you trying to write the constructor in the class statement? > > Cheers, > Xav > > > On 31 August 2010 00:10, Ethan Furman wrote:

Re: meta-class troubles

2010-08-30 Thread Xavier Ho
Ethan, are you trying to write the constructor in the class statement? Cheers, Xav On 31 August 2010 00:10, Ethan Furman wrote: > Good Day! > > I am stuck... hopefully a few fresh pairs of eyes will spot what I am > missing. > > I have a metaclass, Traits, and two different testing files, test_

Re: meta-class troubles

2010-08-30 Thread Chris Rebert
On Mon, Aug 30, 2010 at 7:10 AM, Ethan Furman wrote: > Good Day! > > I am stuck... hopefully a few fresh pairs of eyes will spot what I am > missing. > > I have a metaclass, Traits, and two different testing files, test_traits.py > and tests.py.  test_traits works fine, tests generates the followi