[Twisted-Python] Event queue in the Python std lib

Antoine Pitrou solipsis at pitrou.net
Fri Jul 1 15:39:36 EDT 2005


> IMHO the point here is the trivial functionality.  As far as I can tell 
> from the few examples of event-driven applications that I use which I 
> didn't write :-), there is a progression that many event-driven Python 
> programs go through these days:
> 	- Implement something with asyncore
> 	- realize asyncore's deficiencies, start enhancing it
> 	- discover Twisted, re-implement networking code (from scratch)
> If the event loop in Python provided similar interfaces to the one in 
> Twisted, the amount of work involved in stage 3 could be greatly reduced.

As a humble lurker on this list, I just wanna say that this argument
rings a bell. I had to rewrite a P2P program which had chosen to
implement its own event loop instead of using Twisted... ;)

It would be nice if more people knew about Twisted.



More information about the Twisted-Python mailing list