ray_class_number canot run.....
I try a example from doc/reference: http://www.sagemath.org/doc/reference/number_fields/sage/rings/number_field/number_field_ideal.html
K.<z> = QuadraticField(-23); p = K.primes_above(3)[0]; p.ray_class_number()
x = polygen(K) L.<w> = K.extension(x^3 - z) I = L.ideal(5) I.ray_class_number()enter code here