I\'ve found myself in an unusual situation where I need to change the MRO of a class at runtime.
The code:
class A(object): def __init__(self):
Call self.msg_str = "B" before super(B, self).__init__().
self.msg_str = "B"
super(B, self).__init__()