ErrorMessages reformat to Python3