resolves #52: Python3 support.