[python-win32] win32 based event loop

Itamar S.-T. itamarst@yahoo.com
Sun, 6 Jan 2002 07:22:40 -0800 (PST)


Hi,

As part of getting Twisted
(http://www.twistedmatrix.com) to fully integrate with
the win32 platform, I'd like to have a win32 native
API based event loop, to replace the current select()
based loop. Twisted already does Jython, wxPython,
Tkinter, GTK+ and poll(), so I figure it shouldn't be
too hard :)

However, as I am not familiar with the relevant APIs,
I was wondering if someone here could give a simple
example of a win32event event loop that accepts Python
sockets -- something equivalent to asyncore, say.

Thanks in advance.


=====
Itamar Shtull-Trauring, itamar(at)shtull-trauring.org

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/