exarkun at divmod.com
Sun Jun 10 08:09:09 EDT 2007
On Sun, 10 Jun 2007 10:43:48 +0100, Simon Pickles <sipickles at hotmail.com> wrote:
>Just to point out, iterate() does seem to run a loop of reactor, before
>returning. No call to run() is required.
>This is contrary to the API docs.
The API docs describe the supported behavior. Implementation details may
allow other behavior to appear to work accidentally.
>Why would iterate() be a dead end, jean?
Generally speaking, none of the reactors are reentrant and driving them
stepwise with iterate() is not a feature which is seeing any interest by
maintainers these days. This means that it may or may not work with each
reactor and there is little test coverage for it.
More information about the Twisted-Python