This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients akuchling, djarb, facundobatista, forest, giampaolo.rodola, gvanrossum, jafo, josiahcarlson, markb
Date 2009-03-03.18:17:34
SpamBayes Score 1.0274986e-09
Marked as misclassified No
Message-id <1236104257.0.0.250234116141.issue1641@psf.upfronthosting.co.za>
In-reply-to
Content
> Giampaolo, I'm concerned that your patch uses a global 'tasks' list
> which cannot be overriden.  Shouldn't loop() accept an optional task 
> list argument, as it already does with the socket map?  That would keep
> with the spirit of asyncore and make things easier for those of us who
> use multiple event loops in multiple threads.

Personally I can't think of any use case in which that would come
helpful, but perhaps it's because I've never mixed asyncore and threads.
Can't you do that by simply overriding the global list?
History
Date User Action Args
2009-03-03 18:17:37giampaolo.rodolasetrecipients: + giampaolo.rodola, gvanrossum, akuchling, facundobatista, jafo, josiahcarlson, forest, djarb, markb
2009-03-03 18:17:37giampaolo.rodolasetmessageid: <1236104257.0.0.250234116141.issue1641@psf.upfronthosting.co.za>
2009-03-03 18:17:35giampaolo.rodolalinkissue1641 messages
2009-03-03 18:17:34giampaolo.rodolacreate