|
Boost : |
From: Lorien Dunn (l.dunn_at_[hidden])
Date: 2001-03-15 19:05:16
Hullo,
I've now converted all my pointers to boost::shared_ptr, and all
seems to be well.
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.
Thanks for any help,
Lorien Dunn
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk