Re: [Pythonmac-SIG] changging inheritance on the fly?

2005-04-17 Thread Chris Barker
altern wrote: Michael Hudson wrote: The way you ask the question suggests you don't know Python especially well. As Bob says, there are likely better ways to acheive your goal. any tips about those other ways? A) this is more of a topic for comp.lang.python, but as long s we're here... B) We can't

Re: [Pythonmac-SIG] changging inheritance on the fly?

2005-04-17 Thread altern
Michael Hudson wrote: altern <[EMAIL PROTECTED]> writes: hi probably a bit offtopic since it is nothing mac specific but i didnt know where to ask. python-list? is it possible to change the superclass a class inherits from on the fly? You can assign to __bases__. for example i have this class

Re: [Pythonmac-SIG] changging inheritance on the fly?

2005-04-17 Thread Michael Hudson
altern <[EMAIL PROTECTED]> writes: > hi > > probably a bit offtopic since it is nothing mac specific but i didnt > know where to ask. python-list? > is it possible to change the superclass a class inherits from on the fly? You can assign to __bases__. > for example i have this class inheriting

Re: [Pythonmac-SIG] changging inheritance on the fly?

2005-04-17 Thread Bob Ippolito
On Apr 17, 2005, at 6:30 AM, altern wrote: probably a bit offtopic since it is nothing mac specific but i didnt know where to ask. is it possible to change the superclass a class inherits from on the fly? for example i have this class inheriting from Top but i want it to inherit later on the fl

[Pythonmac-SIG] changging inheritance on the fly?

2005-04-17 Thread altern
hi probably a bit offtopic since it is nothing mac specific but i didnt know where to ask. is it possible to change the superclass a class inherits from on the fly? for example i have this class inheriting from Top but i want it to inherit later on the fly from another class living in another mo