Base on libev, pyev0.8.1-4.04, python2.6