Re: super behavior

2009-01-25 Thread Diez B. Roggisch
TP schrieb: Hi, Hereafter is an example using super. At the execution, we obtain: coucou init_coucou2 coucou1 coucou2 Traceback (most recent call last): File "essai_heritage.py", line 34, in print b.a AttributeError: 'coucou' object has no attribute 'a' Why Python does not enter in the

super behavior

2009-01-25 Thread TP
Hi, Hereafter is an example using super. At the execution, we obtain: coucou init_coucou2 coucou1 coucou2 Traceback (most recent call last): File "essai_heritage.py", line 34, in print b.a AttributeError: 'coucou' object has no attribute 'a' Why Python does not enter in the __init__ metho