Using select.kqueue()

Ritesh Nadhani riteshn at
Tue Sep 1 09:51:17 CEST 2009


I am trying to use kqueue. Since, I am on v2.5, I use the baclport:

Following the example at: (which
works perfectly as it tells all events), I tried to port it to Python:

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?

More information about the Python-list mailing list