Python interface to kqueue(2) and kevent(2) system calls