Hi Nicolas, On 30 Mrz., 08:32, "Nicolas M. Thiery" <nicolas.thi...@u-psud.fr> wrote: > Another trick to try would be add in Modules.ParentMethods: > > def __init_extra__(self): > self.basis_ring = self.base_ring >
When is that called? I provided a __init_extra__ for Rings.ParentMethods, but it is not called when I create R.<x,y> = QQ['t'][], even though (with the patches from #9944 and #9138 at least) it belongs to a subcategory of the category of rings, and R._is_category_initialized() yields True. Best regards, Simon -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org