For example by - moving `is_fundamental_discriminant` to `sage.arith`. - moving import from `sage.rings.padics.factory` into a method This is part of: - #29705