Apply changes to python3