As suggested in https://github.com/python/cpython/pull/93012#issuecomment-1139800862, we should consider adding `PyType_FromMetaclass`. @wjakob already has an implementation, see https://github.com/python/cpython/pull/93012#issuecomment-1138876646.