Re: Parent instance attribute access

2008-02-25 Thread Gabriel Rossetti
[EMAIL PROTECTED] wrote: > Hello. Please post the minimal code that can be run and demonstrates > what's wrong. I tried the following and it works fine, args and kwargs > are visible: > > class MyFactory(object): > def __init__(self, *args, **kwargs): > self.args = args >

Re: Parent instance attribute access

2008-02-25 Thread marek . rocki
Hello. Please post the minimal code that can be run and demonstrates what's wrong. I tried the following and it works fine, args and kwargs are visible: class MyFactory(object): def __init__(self, *args, **kwargs): self.args = args self.kwargs = kwargs clas

Re: Parent instance attribute access

2008-02-25 Thread Robert Bossy
Gabriel Rossetti wrote: > Hello, > > I have something weird going on, I have the following (simplified) : > > class MyFactory(..., ...): > > def __init__(self, *args, **kwargs): > self.args = args > self.kwargs = kwargs > ... > > class MyXmlFactory(MyFactory): > > de

Parent instance attribute access

2008-02-25 Thread Gabriel Rossetti
Hello, I have something weird going on, I have the following (simplified) : class MyFactory(..., ...): def __init__(self, *args, **kwargs): self.args = args self.kwargs = kwargs ... class MyXmlFactory(MyFactory): def __init__(self, *args, **kwargs): MyFa