Re: Trellis WXEventLoop patch
"Phillip J. Eby" <pje-Wh6+Hckhi6HFNGf7iClzIwC/[email protected]>
| Newsgroups | gmane.comp.python.peak |
|---|---|
| Message-ID | <[email protected]> |
At 07:46 PM 6/21/2008 +0300, Sergey Schetinin wrote: >from peak.events.trellis import * >from peak.events.activity import * > >import wx >app = wx.App() > >loop = WXEventLoop() >event = Time[0.00001] > >@Cell >def dependency(): > if event: pass > >dependency.value > >loop.run() This code simply goes into an infinite loop on my machine.... What does it do on yours? If I add other code to it (such as changing 'pass' to 'loop.call(loop.stop)', I can get it to randomly either loop or run correctly. What I can't get it to do is produce any sort of test failure in a reliable fashion.