Re: oddness in super()

2005-06-19 Thread Björn Lindström
Martin Blume [EMAIL PROTECTED] writes: A great analysis, but what's a pogo stick and where can I get one? http://search.ebay.com/pogo-stick -- Bjrn Lindstrm [EMAIL PROTECTED] Student of computational linguistics, Uppsala University, Sweden --

Re: oddness in super()

2005-06-19 Thread Martin Blume
Bjrn Lindstrm schrieb A great analysis, but what's a pogo stick and where can I get one? http://search.ebay.com/pogo-stick Yes, that explains the bouncing with the pogo stick; I would have poked around with a stick. ROTFL, thank you. Martin --

oddness in super()

2005-06-18 Thread Michael P. Soulier
Ok, this works in Python on Windows, but here on Linux, with Python 2.4.1, I'm getting an error. The docs say: A typical use for calling a cooperative superclass method is: class C(B): def meth(self, arg): super(C, self).meth(arg) However, when I try this, which works on windows,

Re: oddness in super()

2005-06-18 Thread John Machin
Michael P. Soulier wrote: Ok, this works in Python on Windows, but here on Linux, with Python 2.4.1, I'm getting an error. The docs say: A typical use for calling a cooperative superclass method is: class C(B): def meth(self, arg): super(C, self).meth(arg) However,

Re: oddness in super()

2005-06-18 Thread Michael P. Soulier
On 18/06/05 Diez B. Roggisch said: Certainly a bug - but not in python. The super-method works for new-style classes only. The attached script reproduces your observed behaviour. So kit seems that whatever toolkit you use, it uses new-style classes on windows, and old-style ones on