Giampaolo Rodola' <billiej...@users.sourceforge.net> added the comment:

> 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?

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1641>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to