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. = PolynomialRing(QQ, sparse=True)
> sage: pQ = R ( p )
> sage: pQ._pow_
Hi Nicolas,
On 17 Mai, 14:49, "Nicolas M. Thiery"
wrote:
> Eventually, all parents should have their category initialized (thanks
> for your work on this direction!). So if your suggested change does
> not break the tests (as your other email points out), the principle
> sounds very reasonable to
On 16 Mai, 21:27, Simon King wrote:
> So, aparently the only question is what we intend to do in the case of
> a non-initialised parent. I plan to open a ticket tomorrow morning,
> but perhaps you can already state your opinion on that question.
The ticket is #11342, and it is ready for review!
On 16 Mai, 19:14, Simon King wrote:
> Similarly, if an attribute is requested from an element, then the
> attribute may be looked up in the element class of
> self.parent().category() --- but it is *not* requested that the
> category is initialized.
>
> Should it be requested? If we can request it