kennethreitz/envoy — pull request #37 by bricef (2012-06-08 10:51:38+00:00)
Title: Python 3 and Python 2.5 Compatibility fixes

This should now work with all versions of Python above 2.5.

The test_envoy script ran successfully on

* Python 2.5 (r25:51908)
* Python 2.6 (r26:66714)
* Python 2.7.1
* Python 3.2.2

It turns out that Python 2.5 wasn't supported due to `Popen.kill()`, `Popen.terminate()` and `Thread.is_alive()` not being available, but those are fixed now.

I have not tested the `_terminate_process()` function on windows (no machine available), so that might be worth double checking.

I've also removed the pexpect library which wasn't being used anywhere.

Cheers!

Brice