Python2 and Python3 support (using python-modernize's 2to3)
Modernized code + py3 patches