fritzy/SleekXMPP — pull request #166 by pvicente (2012-05-22 08:42:37+00:00)
Title: SleekXMPP working with gevent in a transparent way

Some changes to work with gevent if this library make the monkey patch to system libraries like (sockets, threads ...).

Modified Queue imports to work with gevent.Queue if it is loaded.

Added parameter to testall.py to load gevent and make monkey.patch_all(). Now you can test all suite with gevent loaded typing ./testall.py gevent. All tests are working fine.

It seems that library is 3x faster with gevent (testall.py gevent 6s vs testall.py 20s in my machine).

I think that these commits don't modify any feature of the library and make it to work with gevent in a transparent way. Also any other projects that are working with SleekXMPP and gevent could work without problems.