
April 15, 2005
2:36 p.m.
On Apr 15, 2005, at 10:27 AM, Glyph Lefkowitz wrote:
Shawn Church wrote:
I am new to twisted and also experienced problems using wxreactor. After reading some earlier posts to this message list I wrote a wx.App sub-class that polls the reactor ONLY when the GUI requires data from twisted:
Eep! This is definitely broken.
The simplest way to explain why is: what if you are writing a chat program, and your GUI might need to be notified about network events at any time? Deferreds are just one way that Twisted can trigger events. There are lots of other callbacks which your program might be interested in.
Well, if you know that can't happen, (or that you aren't interested if it does happen) then you're all set. :) James