pyapi_compat_if
