corrected PYTHON_COMPAT