python3 compliance