Gary D. Duzan wrote:
>    A while back I tossed something together to deal with the same
issue
> in terms of "futures" (or "promises".)  Here is roughly what the
above
> code would look like with futures as I implemented them:

<snip>

>    This was all done using plain Python 1.5.2 in 80 lines of code,
> including some blank lines and doc strings. Maybe I'll brush off
> the code a bit and post it one of these days.
>
>                                       Gary Duzan
>                                       BBN Technologies

Hrm.  Well to be honest the point is the shallow threads, *not* the
main loop and event notifiers.  Otherwise I'd just use blocking calls
in real threads, or maybe just twisted, and not bother creating
anything new, ya know?

--
Adam Olsen, aka Rhamphoryncus

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to