deriving classes from object extensions

manstey manstey at csu.edu.au
Thu Dec 7 19:12:18 EST 2006


Hi,

I am using Python with Cache dbase, which provides pythonbind module,
and intersys.pythonbind.object types. But I can't create a class based
on this type:

import intersys.pythonbind
class MyClass(intersys.pythonbind.object):
   pass

gives me the error: TypeError: Error when calling the metaclass bases
    type 'intersys.pythonbind.object' is not an acceptable base type

Can anyone expain if it is possible for me to derive my own class from
the intersys object so as to add my own functionality?

thanks,
matthew




More information about the Python-list mailing list