tutumcloud/python-tutum — pull request #7 by AnilRedshift (2014-12-31 08:43:40+00:00)
Title: Python3

This modifies the codebase in the most automatic way to support python2 and python3.
The code was made compatible by:
1) running 2to3 over the codebase
2) Fixing up small bugs in python3 related to file encoding
3) using the builtin unittest.mock library for testing

and then ensuring python2.7 compatibility by using future.standard_library.install_aliases() and making a custom fix for unittest.mock

I have verified that the unittests pass in both python 2.7.9 and python 3.4.2.

A possible future todo would be to use absolute imports instead of relative imports as the 2to3 tool has done, but that's partially a coding guidelines thing.