I ran into the following worrisome example. In 
sage.rings.finite_rings.element_base we have that is_FiniteFieldElement(x) 
has a deprecation on it:

   deprecation(32664, "the function is_FiniteFieldElement is deprecated; 
use isinstance(x, sage.structure.element.FieldElement) and 
x.parent().is_finite() instead")

Yet:

sage: isinstance(GF(2).0, sage.structure.element.FieldElement)
False

how is it possible that something got deprecated in favour of something 
that doesn't even work in the most basic example?

We do have that parent(GF(2).0).is_field() is true and that it inherits 
from sage.rings.ring.Field, so on the parent side things seem to be OK.


-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/62332ced-2bdd-4ab4-9b80-934835a9697dn%40googlegroups.com.

Reply via email to