Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-03-16 06:35:42


Lorien,

I'm confused. I thought I killed this problem long ago. Looking at the error
message, though, there may not be any good way to kill it. Let me give it
some thought.

-Dave

----- Original Message -----
From: <l.dunn_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, March 15, 2001 10:17 PM
Subject: [boost] Re: BPL: inheritance problem

>
> > However I'm getting python TypeErrors when I use code like this:
> >
> > class MyPyClass(MyBasePyClass, MyBaseCPPClass):
> > def __init__(self):
> > MyBasePyClass.__init__(self)
> > MyBaseCPPClass.__init__(self)
> >
> > The problem occurs with MyBasePyClass; Python says "unbound
> > method must be called with class instance 1st argument"
> >
> > This makes sense to me- I'm passing a meta-class instead of a
> > normal class. However I don't know how to work around it.
> >
>
> Just for the record I'm using Python 2.0, and I had this same problem
> with the last version of BPL (hence the upgrade)
>
> Lorien Dunn
>
>
> List-Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk