On Wed, 2025-09-24 at 09:50 -0700, Nils Bruin wrote:
> In this particular case, it seems executing
> 
> import sage.rings.integer
> import sage.rings.integer_ring
> 
> gets around the problem. It's of course why we have sage.all. In this case, 
> sage.rings.all also works and would get you slightly less but probably 
> still more than you want. The above example doesn't: sage.rings.integer is 
> part of the cycle anyway.

Thanks, I also discovered this trick. I'm more alarmed by the
impression that it's new than anything else. Unless I stumble across a
smoking gun, I'll have to assume that my memory is wrong and I was
avoiding it by pure chance.

I thought https://github.com/sagemath/sage/pull/40443 would be a good
example, but the import of FiniteField() is what makes it possible to
import QQ in that case.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/78633201ca9df736ecd27da57d73c9272ea043a1.camel%40orlitzky.com.

Reply via email to