Currently I'm not a python programmer, but I'm giving some maintenance to some python code, and I have what's more or less the following:
class DerivedThread(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
def initStuff():
print "Hello 2"
def run(self):
print "Hello 1"
self.initStuff()
print "Hello 3"
initStuff does not call print in truth, just set some variables, I've added this method for organization, there was only __init__ and run before.
The problem is that, once execution reachs self.initStuff(), I see no messages following anymore, only "Hello 1", I thought it was some problem with calling derived methods with python, but I don't know what's happening.
What's happening?