[Twisted-Python] Capture blocking calls?

Jp Calderone exarkun at divmod.com
Tue Jun 14 21:17:34 EDT 2005


On Tue, 14 Jun 2005 17:45:54 -0700, Ian Duggan <ian at ianduggan.net> wrote:
>
>Hi,
>
>Does anyone know of any tools that could be used to wrap a python module and
>capture/report blocking calls made by it?
>
>My immediate need is to extend the twisted soap client to support the WSDL
>proxy that is part of SOAPpy. The current soap proxy looks to be pretty
>minimal.
>
>I'll probably just end up reading through the code this time, but I thought I
>would throw the idea out there in case anyone had considered this before.
>
>Such a tool might make it easier to wrap up/modify libraries and make them
>usable from Twisted.

<http://svn.twistedmatrix.com/cvs/sandbox/exarkun/btt.py> (and <http://svn.twistedmatrix.com/cvs/sandbox/exarkun/test_btt.py>) might be of interest/use.  I haven't done much with it yet, so I don't know if it's actually effective.  I'd be interested to hear if you have any luck with it.

Jp




More information about the Twisted-Python mailing list