Re: Inheritance confusion

2008-04-19 Thread Hook
Thanks to everyone who replied. Kay and Mark put me on the right track immediately. Ben is quite right - the fragment that I posted couldn't have given that error, but I didn't want to post the whole thing - perhaps wrongly, I thought it wouldn't help clarify what I thought the problem was. And

Re: Inheritance confusion

2008-04-19 Thread Ben Finney
Hook <[EMAIL PROTECTED]> writes: > I'm having a problem with multiple inheritance You aren't alone. Multiple inheritance (MI) is difficult to implement, and once implemented, usually difficult to understand and sometimes counterintuitive. I recommend you read and absorb the article "The Truth ab

Re: Inheritance confusion

2008-04-19 Thread Mark Shroyer
In article <[EMAIL PROTECTED]>, Hook <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having a problem with multiple inheritance - it's clearly something > I've missed, but the web pages and books that I've consulted aren't > helping, so I'll throw myself on the mercy and collective wisdom of > Usene

Re: Inheritance confusion

2008-04-19 Thread 7stud
On Apr 19, 12:37 am, Hook <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having a problem with multiple inheritance - it's clearly something > I've missed, but the web pages and books that I've consulted aren't > helping, so I'll throw myself on the mercy and collective wisdom of > Usenet! > > I've got 4

Re: Inheritance confusion

2008-04-19 Thread Peter Otten
Hook wrote: > When I run the script I get this: > > Traceback (most recent call last): > File "./3.py", line 20, in > Obj.Connect ('Database') > File "/mnt/isis/Projects/Python/Learning/DB_m.py", line 102, in Connect > self.TRACE ("DB::Connect (" + database + "," + mode) > File "/m

Re: Inheritance confusion

2008-04-19 Thread Kay Schluehr
On 19 Apr., 08:37, Hook <[EMAIL PROTECTED]> wrote: > Traceback (most recent call last): > File "./3.py", line 20, in > Obj.Connect ('Database') > File "/mnt/isis/Projects/Python/Learning/DB_m.py", line 102, in Connect > self.TRACE ("DB::Connect (" + database + "," + mode) > File "/m