On 2013-02-11, Nils Bruin <nbr...@sfu.ca> wrote: > sage: QA.is_field() > False > sage: QB.is_field() > False > sage: QB in Fields() > True
In contrast to all other category containment tests, Fields().__contains__(P) does not only rely on the declared category of P, but it would call P.is_field(), if P has not previously been initialised in the category of fields. Hence, if I am not mistaken, QB in Fields() can not be True if QB.is_field() returns False. -- 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 http://groups.google.com/group/sage-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.