event loops and Python?

Moshe Zadka moshez at math.huji.ac.il
Tue Mar 14 01:53:04 CET 2000


On 13 Mar 2000, Donn Cave wrote:

> | So a standard event loop, or at least a standard event-loop API,
> | for all event-loop-based Python applications would be very useful.
> 
> Sounds like asyncore is running unopposed for that, so far.

Yes. Only two features need to be added to asyncore:

- timeouts
- idle events

Additional goodies would be:
	- API for waiting for one event
	- Making it into a class, so that there can be two mainloops
	  (only one per thread active, of course)
--
Moshe Zadka <mzadka at geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com





More information about the Python-list mailing list