problem with hack using multiple inheritance for plugins

Peter Otten __peter__ at web.de
Thu Jun 28 15:37:16 CEST 2007


massimo s. wrote:

> Again: using a new-style plugin class for multiple inheritance does
> not work.

This statement is certainly too broad.

[earlier]
> TypeError: unbound method _plug_init() must be called with
> dummyguiplugGui instance as first argument (got MainWindowPlugged
> instance instead)

So it looks like you failed to make dummyguiplugGui a base class of
MainWindowPlugged.
 
> What can I do now?

Post a self-contained example.

Peter



More information about the Python-list mailing list