[Twisted-Python] (no subject)

Timothy Fitz TimothyFitz at gmail.com
Tue Oct 3 13:16:22 EDT 2006


On 10/3/06, exarkun at divmod.com <exarkun at divmod.com> wrote:
> If tsr is important, I would suggest finding a way to run Twisted's test
> suite using it.  One way to do this is to implement the actual reactor
> API using a subclass (or some such).  Trial might then run the test suite
> using that reactor subclass.  Hopefully there will be support for reactor
> plugins somewhat soon, but until then you'll need to patch the reactors
> dictionary at the top of twisted/application/app.py.

It sounds like even if I were to do this, I could still run into
issues with the interleaving being untested. I'm personally using it
to interleave with pygame, which is a somewhat common usage. Does it
make more sense to write a pygame reactor which then trial can use?
(And then setup another buildslave, or at least get it on the reactor
buildslave) Would a TSR-only reactor have any purpose outside of
running trial and allowing us to narrow down what issues might be
causing platform-related bugs?




More information about the Twisted-Python mailing list