Re: nanothreads: Want to use them from within wxPython app

2005-12-13 Thread F. GEIGER
<[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > F. GEIGER wrote: >> I've def'ed a handler for EVT_IDLE in the app's main frame. There I'd >> like >> to call the nanothreads' __iter__ method, somehow. >> >> When I copy the __iter__ method into a, say, runOnce() method and call

Re: nanothreads: Want to use them from within wxPython app

2005-12-11 Thread simonwittber
F. GEIGER wrote: > I've def'ed a handler for EVT_IDLE in the app's main frame. There I'd like > to call the nanothreads' __iter__ method, somehow. > > When I copy the __iter__ method into a, say, runOnce() method and call the > next() method of the generator returned by runOnce(), it works. But I c