issue with twisted and reactor. Can't stop reactor

Jean-Paul Calderone exarkun at divmod.com
Mon May 11 18:09:19 EDT 2009


On Mon, 11 May 2009 17:40:57 -0300, Gabriel <gabriel at opensuse.org> wrote:
>Hello all!,
>
>I'm trying to implement a simple one way communication using twisted.
>
> [snip]
>
>When I call send the first time it works fine, when I call send a
>second time the sender hangs.
> [snip]

None of the reactors in Twisted are restartable.  You can run and stop them
once.  After you've stopped a reactor, you cannot run it again.  This is the
cause of your problem.

Jean-Paul



More information about the Python-list mailing list