kennethreitz/clint — pull request #21 by takluyver (2012-01-06 00:24:48+00:00)
Title: Python 3 compatibility

With these changes, all the examples run successfully in Python 3.2 and 2.7. All the same things should work on 3.1 and 2.6.

Note that I've not made any effort to allow compatibility with Python 2.5 and older. It's possible, but it's substantial extra work for (at this point) relatively little gain. Assuming at least Python 2.6 makes the code much simpler.