Yes, I see. (And of course I meant "R in Fields()" and "except AttributeError".)
Does anybody open a ticket about this issue? I'd like to follow. Off-Topic question: Is Sage capable of checking *whether *a multivariable (differentiable) function has a zero in a given domain? Best, Michael Am Samstag, 13. Juli 2019 14:23:31 UTC+2 schrieb Simon King: > > Hi Michael, > > On 2019-07-13, Michael Jung <mic...@uni-potsdam.de <javascript:>> wrote: > > You could try something like > > try: > > is_field = R.is_field() > > except TypeError: > > is_field = (R in Rings()) > > as a compromise? Would that make the code faster? > > I think today the preferred way to test if something is a ring or > integral domain or field is via categories ("R in Fields()"). > > Best regards, > Simon > > -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/620d56c0-d219-4034-971a-ca2f4d0a5e33%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.