[Twisted-Python] Capture blocking calls?

Jp Calderone exarkun at divmod.com
Thu Jun 23 17:02:25 MDT 2005


On Tue, 21 Jun 2005 10:40:54 +0100, Michael Twomey <micktwomey at gmail.com> wrote:
>Hi,
>
>I've tried it out too and it seems to work well (I have to also
>commend Jp on the sneakiness of the signal approach).
>
>Since I don't have the dl module with my copy of mac python I've
>attached a small patch which makes btt use the itimer module py-itimer
>(http://www.cute.fi/~torppa/py-itimer/) if it can't import dl.
>

Thanks, I've applied a slightly modified version of this to svn.  I assume py-itimer works and such, so I just made it the preferred mechanism, falling back to dl if it is not available.

Jp




More information about the Twisted-Python mailing list