Hello, I recently felt the need to have a main loop with timeouts and IO notifications, such as the one found in pygtk's gobject module (wrapping glib functions). However, I did not want to add a dependency of pygtk to this program. Therefore I implemented a main loop module in python. I think that both asyncore and twisted are a bit too high-level. I like the low-level event driven approach much better. It's easier to understand. That's why I wrote this. There's a unit test, and it seems to work, but this code is still recent and not very well tested. http://yang.inescn.pt/~gjc/pymainloop/ Just so you know this exists... Regards. Dom, 2004-11-07 às 08:11 -0800, Dennis Allison escreveu: > The question, then, is what base should be used for developing asynchonous > servers? > > On Sun, 7 Nov 2004, Jeremy Hylton wrote: > > > On Mon, 08 Nov 2004 01:32:35 +1100, Anthony Baxter > > <anthony at interlink.com.au> wrote: > > > Josiah Carlson wrote: > > > > A recent patch to offer an SMTP server (SocketServer derivative) sparked > > > > the below... > > > > > > > > Question: > > > > Does we (and by 'we' I mean those in charge of developing Python) want > > > > to offer both asynchronous (deriving from asyncore, asynchat, etc.) and > > > > synchronous versions of server software in the standard library? > > > > > > Personally, I think that encouraging anyone to develop new software on > > > top of asyncore/asynchat is a _terrible_ idea. > > > > I agree. > > > > Jeremy > > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: http://mail.python.org/mailman/options/python-dev/gjc%40inescporto.pt -- Gustavo J. A. M. Carneiro <gjc at inescporto.pt> <gustavo at users.sourceforge.net> The universe is always one step beyond logic. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3086 bytes Desc: not available Url : http://mail.python.org/pipermail/python-dev/attachments/20041108/6e607a5d/smime.bin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4