[Twisted-Python] daemon thread support

Andrew Bennetts andrew-twisted at puzzling.org
Tue Dec 2 22:10:20 EST 2003


On Tue, Dec 02, 2003 at 09:46:20PM -0500, Bob Ippolito wrote:
> 
> On Dec 2, 2003, at 9:15 PM, Jp Calderone wrote:
> 
> >  This makes using threads far, far too easy.  Luckily for everyone, 
> >on a
> >second reading, I don't think these will work.  imap needs something to
> >iterate the object it returns.  Both of the above solutions will simply
> >create an itertools.imap object and then do nothing with it :)
> 
> What about list as the function, and itertools.imap as the argument to 
> that function?

Or maybe sets.Set?  So long as process always returns the same value
(probably None), this won't eat memory the way list would...

-Andrew.





More information about the Twisted-Python mailing list