> 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()] > > That is the correct way to do it as far as I know.
> But it does not work at all (namely it is not possible to call methods > from ParentMethod). > > What exactly do you mean by this? The methods from Sets().Infinite() are not called? Best, Travis -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
