f = open('/sys/bus/clockevents/devices/clockevent0/uevent', 'r')
p = select.poll()
p.register(f, select.POLLPRI | select.POLLERR)
result = p.poll(10)
How can you generate a POLLPRI event on a regular file?