pub fn py_unsupported_variant_err(e: impl Debug) -> PyErr