Python 3 compatibility (attempt)
Note to self: run tests before committing
Merge pull request #4 from tonysyu/feature/python-3-compatibility

Python 3 compatibility (attempt)