Using select.kqueue()

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Tue Sep 1 08:47:55 EDT 2009


On 07:51 am, riteshn at gmail.com wrote:
>Hi
>
>I am trying to use kqueue. Since, I am on v2.5, I use the baclport:
>http://pypi.python.org/pypi/select26/0.1a3.
>
>Following the example at:
>http://julipedia.blogspot.com/2004/10/example-of-kqueue.html (which
>works perfectly as it tells all events), I tried to port it to Python:
>
>http://www.bpaste.net/show/25/
>
>Not sure where I am wrong but the poller only returns *one* event
>ever. Adding new text, deleting the file does not return any event.
>
>What can I be doing wrong?

Perhaps you are encountering http://bugs.python.org/issue5910

Jean-Paul



More information about the Python-list mailing list