[Twisted-Python] wxpython issues
James Y Knight
foom at fuhm.net
Fri Apr 15 08:36:30 MDT 2005
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
More information about the Twisted-Python
mailing list