As observed in https://github.com/flintlib/python-flint/pull/312#issue-3369905879, there is no ``fmpq_poly_discriminant``.