<html><body><div style="color:#000; background-color:#fff; font-family:bookman old style, new york, times, serif;font-size:12pt">I realize it does become an instance variable as soon as it is assigned a value, hence I was perplexed as to why it did not have the intended effect. Thanks for pointing out that the name is mangled. That clarifies it! I forgot about name mangling (although I did realize attrs starting with '_' are intended to be implementation detail private). <br><br>In any case, I do not replicate the logic of allContentReceived () anymore. Instead, I just call the base class method in my derived class. <br><br>I had to have a derived class because the following line throws an exception:<br> req = self.requests[-1]<br>because of my special handing of the request connection (the req is gone by the time allContentReceived() gets called). What is my special handling? I tie up the
request using producer/consumer to some other resource before the entire content is received.<br><br>So for now I am fine with:<br>DerivedClass::allContentReceived(self):<br> try:<br> http.HTTPChannel.allContentReceived(self)<br> except Exception, e:<br> pass<br><br>Speaking of derived classes, ... I will pose a related question on a new thread ...<br><br><div><br></div></div></body></html>