Boost logo

Boost :

From: l.dunn_at_[hidden]
Date: 2001-03-15 22:17:42


> 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


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