Dear all,

Working on #24432, I am faced with the following problem. We have a NumberFields category and a number field is necessarily infinite. Hence it would be natural for NumberFields() to be a subcategory of Sets().Infinite(). What is the proper way to do it?

I tried to solve this by doing the naive

class NumberFields:
    def super_categories(self):
-        return [Fields()]
+        return [Fields().Infinite()]

But it does not work at all (namely it is not possible to call methods from ParentMethod). Should the above be supported?

Best
Vincent

--
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to