Dear John,

On 2 Mai, 18:39, John Cremona <[email protected]> wrote:
> When an elliptic curve is created the code in the __init__ function in
> ell_generic.py (lines 164-5) do cause a multivariate polynomial ring
> to be created.  In this case it's a new ring each time as the base
> field is always a new field.

How is the multivariate polynomial ring created?

I remember that recently Martin Albrecht was fixing some bug: Here, a
multivariate polynomial ring was created without using the
PolynomialRing constructor, violating uniqueness of parents.

But if, in your case, you create a polynomial ring, work with it, and
then want it to be garbage collected, then perhaps it would be a good
idea to *not* use the PolynomialRing constructor: If the resulting
ring is cached (-> uniqueness of Parent Structures) then it would not
be garbage collected, or would it?

Best regards,
    Simon

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to