Problem with sub-classing

2006-07-17 Thread Bernard Lebel
Hello, I have this problem when subclassing classes where I get this error: Traceback (most recent call last): File Script Block , line 344, in BBExportElementGranules_Execute from bb_pipeline import bb_exportelementgranules File

Re: Problem with sub-classing

2006-07-17 Thread Peter Otten
Bernard Lebel wrote: Hello, I have this problem when subclassing classes where I get this error: Traceback (most recent call last): File Script Block , line 344, in BBExportElementGranules_Execute from bb_pipeline import bb_exportelementgranules File

Re: Problem with sub-classing

2006-07-17 Thread Bernard Lebel
Okay, that make sense. Now the question is: regarding the re-binding behavior, is this actually problematic? By that I mean that is it good coding practice to avoid this issue altogether as much as possible, or is it okay to live with it if you use the __init__ argument trick you have shown?

Re: Problem with sub-classing

2006-07-17 Thread Peter Otten
Bernard Lebel wrote: Okay, that make sense. Now the question is: regarding the re-binding behavior, is this actually problematic? By that I mean that is it good coding practice to avoid this issue altogether as much as possible, or is it okay to live with it if you use the __init__