Finalized python3 support