[Twisted-Python] Problem with trial using the reactor

Jonathan Lange jml at mumak.net
Thu Jun 7 02:43:06 EDT 2007


On 6/7/07, Ben Artin <ben at artins.org> wrote:
> I just spent some time tearing my hair out getting trial and
> ThreadedSelectReactor to cooperate.
>

Sorry. If it doesn't have a buildslave, I can't support it. And IIRC,
we have decided not to support TSR.

> Another possible solution to the trial/reactor impedance mismatch you
> commented on would be for trial spawn off a process for each test. By
> definition, that process would get its own reactor and could not
> taint any other tests. The test rig process could happily use
> Deferred semantics, while presenting a synchronous interface to trial.
>

Right. I should have included this in my list, as it is both valid and
has been suggested before.

Thanks,
jml




More information about the Twisted-Python mailing list