[Twisted-Python] calling reactor.run() twice in PB app

Eric Smith eric+twisted at trueblade.com
Wed Feb 15 17:59:48 MST 2006


Jean-Paul Calderone wrote:
> On Thu, 16 Feb 2006 10:27:27 +1100, Andrew Bennetts 
> <andrew-twisted at puzzling.org> wrote:
>> On Thu, Feb 16, 2006 at 08:17:42AM +1100, Jonathan Lange wrote:
>>> On 2/16/06, Mike Pelletier <mike at mkp.ca> wrote:
>>> > What you want is not supported.  If it were, Trial would be a lot 
>>> simpler.
>>> > There is some pressure to support it, but I think it's 
>>> low-priority.  (If I
>>> > understand correctly.)  Perhaps you can just block the reactor by 
>>> calling
>>> > into your app rather than vice-versa?
>>> >
>>>
>>> You understand correctly. It is not supported, Trial would be simpler
>>> and it is never going to be supported.
>>
>> Never is a long time :)
>>
>> Last time I pestered glyph about this, I got him to agree that it 
>> should work.
> 
> Now we just need to find someone to implement it for all the reactors :)

Well, I happen to be motivated just now.  I'm new to twisted, but I'm 
not new to Python and I'm reasonably familiar with the style twisted 
uses (I've written lots of IOCP code).

If anyone could summarize the problem, and if you're serious about it 
getting fixed, I could look at it.

Eric.






More information about the Twisted-Python mailing list