On 12/06/11 18:14, azurIt wrote:
> Burak,
>
> can you, please, help me with this a little more? Where exactly should i put
> that code? Into _base.py file? Thank you!
>
> azur
yes, in the MethodContext class, like so:
class MethodContext(object):
def get_out_object(self):
return self.__out_object
def set_out_object(self, what):
import traceback
traceback.print_stack()
self.__out_object = what
out_object = property(get_out_object, set_out_object)
# (...)
# rest of the class definition
hth,
burak
>
> ______________________________________________________________
>> Od: "Burak Arslan" <[email protected]>
>> Komu: azurIt <[email protected]>
>> Dátum: 05.12.2011 18:33
>> Predmet: Re: [Soap-Python] rpclib - very strange problem
>>
>> CC: [email protected]
>> On 12/05/11 17:55, azurIt wrote:
>>> Any hints ? :)
>> patch rpclib code to instrument the out_object attribute. have the
>> instrumentation spit tracebacks on assignments. that way you'll be able
>> to track where that strange value comes from.
>>
>> off the top of my head, add these to the MethodContext class:
>>
>> def get_out_object(self):
>> return self.__out_object
>>
>> def set_out_object(self, what):
>> import traceback
>> traceback.print_stack()
>> self.__out_object = what
>>
>> out_object = property(get_out_object, set_out_object)
>>
>> every _second_ request? heh, that's fun :)
>>
>> good luck,
>> burak
>>
>>
>>> azur
>>> _______________________________________________
>>> Soap mailing list
>>> [email protected]
>>> http://mail.python.org/mailman/listinfo/soap
>>
> _______________________________________________
> Soap mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/soap
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap