public
Description: pyev2 is Python C extension wrapper around libev. Heavily based (initially copy-pasted) on pyev library by Malek Hadj-Ali see http://code.google.com/p/pyev/
Homepage:
Clone URL: git://github.com/temoto/pyev2.git
temoto (author)
Thu Sep 03 04:19:05 -0700 2009
commit  310f9e940224d97270b40bad3dc48ff285287239
tree    fc0557c50fbc43a0b23b5320d9c25629a0de8ea0
parent  6629d12034b5ac9c9ada771bdf48a44ca6116676
pyev2 /
name age message
file .gitignore Loading commit data...
file README.rst
directory ev2/
file setup.py
README.rst

What

pyev2 is Python C extension wrapper around libev.

This module is heavily based (initially copy-pasted) on pyev library by Malek Hadj-Ali.

Differences:

  • pyev2 supports Python2, while pyev is Py3k only
  • no libev patches, no libev source in pyev2 source tree
  • no implicit ev_default_destroy() because it led to crashes in some cases. Use ev2.destroy_default() if you know what you're doing.
  • some integer sign fixes
  • watcher .active, .pending attributes have 'is' prefix (.is_active, .is_pending)
  • __version__ contains only pyev2 version. ev2.libev_version attribute has libev headers version
  • abi_version is module attribute (function in pyev)
  • docutils (rst2html) friendly doc-strings
  • types defined in separate .h file
  • @null@ and @unused@ splint annotations (doesn't help much, actually)

Credits

pyev2 by Sergey Shepelev <temotor@gmail.com>.

Many thanks to Malek Hadj-Ali for his great original work (pyev).

License

pyev2 is under MIT license. Text is included in file LICENSE.