Hi David! On 26 Apr., 13:49, David Roe <r...@math.harvard.edu> wrote: > Marshall's right that you need to change where the import comes from, but > you actually want > from sage.rings.finite_rings.constructor import FiniteField > > The class in sage.rings.finite_rings.finite_field_base is the base class, > whereas FiniteField in constructor is the UniqueFactory that makes finite > fields.
So far I tried to name the module explicitly in the import statement. But probably it is easier to import from sage.all when possible. Is this considered good praxis? I guess that this is more robust against changes in the underlying modules when upgrading sage. Best regards, Simon -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org