RE: [Zope] Product inhetitance question (similar question)

2000-08-18 Thread NABETH Thierry
Title: RE: [Zope] Product inhetitance question (similar question) And what happen if the Class A is in a package PA. Clabb B is in a package PB. How do you access the namespace of PA from PB ? When I have tried, the inherited methods from A where not visible from B, and I

RE: [Zope] Product inhetitance question (similar question)

2000-08-18 Thread Dieter Maurer
NABETH Thierry writes: And what happen if the Class A is in a package PA. Clabb B is in a package PB. How do you access the namespace of PA from PB ? from PA import A, . whatever you need class B(A): When I have tried, the inherited methods from A where not visible from B,

Re: [Zope] Product inhetitance question

2000-08-17 Thread Andy McKay
Well by inheritance B has all the methods, properties etc you have in A. So the answer is yes, if A has the foobar method then B will have a foobar method. Or do I misunderstand your question? -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the

Re: [Zope] Product inhetitance question

2000-08-17 Thread Andy McKay
- Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: "Daniel Rusch" [EMAIL PROTECTED] Sent: Thursday, August 17, 2000 11:21 AM Subject: Re: [Zope] Product inhetitance question Ah... ok sorry you are right, stuff outside the class doesnt get in

Re: [Zope] Product inhetitance question

2000-08-17 Thread Daniel Rusch
PROTECTED] Sent: Thursday, August 17, 2000 9:40 AM Subject: Re: [Zope] Product inhetitance question Sorry to keep bothering you, but I'm on the threshold of success my B class has an extra property, therefore B's manage_edit needs to address this. In C++ I could overri