On Tue, May 17, 2011 at 03:49:49PM -0700, Simon King wrote: > I agree that it is not an issue. But for the record: It is in sage/ > categories/primer.py and is as follows. > sage: p = 6*x^2 + 12*x + 6 > sage: R.<x> = PolynomialRing(QQ, sparse=True) > sage: pQ = R ( p ) > sage: pQ._pow_.__module__ > 'sage.categories.semigroups' > > In unpatched sage, the category of R is not properly initialised. > Hence, applying only the "getattr" patch from #11342, pQ._pow_ results > in an attribute error (because with the patch, an element inherits > attributes from the category only if the parent is fine). > > But #9944 takes care of the category initialisation for polynomial > rings. Hence, if it is applied in addition to #11342, then all (long) > doctests pass.
Excellent. So this just adds a dependency upon #9944 which anyway has a positive review. Congrats :-) Cheers, Nicolas -- Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net> http://Nicolas.Thiery.name/ -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To post to this group, send email to sage-combinat-devel@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.