[Twisted-Python] How to force synchronous behavior

glyph at divmod.com glyph at divmod.com
Fri Oct 28 22:38:54 EDT 2005



On Fri, 28 Oct 2005 17:40:21 -0400, Pedro Sanchez <psanchez at nortel.com> wrote:

>I want to encapsulate deferreds into a function that looks like
>synchronous when invoked.

This is a bad idea.  Don't do it.  If you do somehow manage it, the results will be incredibly buggy and almost no-one will care to help you fix it, because people who know Twisted well don't do things this way.

For more information, read this: http://www.livejournal.com/users/glyf/40037.html




More information about the Twisted-Python mailing list