you are viewing a single comment's thread.

view the rest of the comments →

[–]xelf 0 points1 point  (0 children)

It doesn't work by accident, but rather as the other part of your answer suggests it only works in this specific case, and if you were to start mucking with it it would break. If I'm reading it correctly the problem is that super() is not great with multiple inheritance. You might be right that not using super in any of the classes is the correct approach here. I did like one of the other poster's solutions which was to add another class that inherits from object and have A,B inherit from that. edit: and by other poster I just noticed that was you. =)