Hi, I was looking into typing a bit and realized that our number field 
elements are not registered as numbers. So the following will not evaluate 
to true:

sage: import numbers
sage: K.<a> = QuadraticField(2)
sage: isinstance(a, numbers.Number)

Is there a reason, we do not register number fields in 
`rings/numbers_abc.py`? Can I just change this?

E.g. I want to specify an iterable over numbers via 
`Iterable[numbers.Number]`, which would not include our number field 
elements currently.

Jonathan

-- 
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 on the web visit 
https://groups.google.com/d/msgid/sage-devel/07d0e686-c77c-460a-b874-5de682a3cb31n%40googlegroups.com.

Reply via email to