Mixin class error

2006-03-06 Thread Ed Leafe
In Dabo, we create cursor classes that combine the backend-specific dbapi cursor class with our own mixin class that adds framework- specific behaviors. This has been working well for a couple of years now with many different backends, but today I'm getting errors with our Firebird c

Re: Mixin class error

2006-03-06 Thread Kent Johnson
Ed Leafe wrote: > In Dabo, we create cursor classes that combine the backend-specific > dbapi cursor class with our own mixin class that adds framework- > specific behaviors. This has been working well for a couple of years > now with many different backends, but today I'm getting errors w

Re: Mixin class error

2006-03-06 Thread Ed Leafe
On Mar 6, 2006, at 8:08 PM, Kent Johnson wrote: > I have no clue but googling 'type is not an acceptable base type' > finds > this thread > http://groups.google.com/group/comp.lang.python/browse_thread/ > thread/628b8ad34a36db17/579f716b143f4967%23579f716b143f4967? > sa=X&oi=groupsr&start=0&nu

Re: Mixin class error

2006-03-06 Thread Kent Johnson
Ed Leafe wrote: > On Mar 6, 2006, at 8:08 PM, Kent Johnson wrote: >> One workaround might be to use delegation instead of subclassing... > > Yeah, but that would involve a lot more work at this point. The > mixin approach has been working quite well up until this problem. Automatic delegati