On 8 Jun., 11:19, Jean-Pierre Flori <jpfl...@gmail.com> wrote:
> Using the following piece of code makes the memory footprint of sage
> grow indefinitely:

I just noticed that elliptic curves are instances of
sage.structure.parent.Parent, but violate the unique parent
assumption:

sage: K = GF(1<<50,'t')
sage: j = K.random_element()
sage: from sage.structure.parent import Parent
sage: isinstance(EllipticCurve(j=j),Parent)
True
sage: EllipticCurve(j=j) is EllipticCurve(j=j)
False
sage: EllipticCurve(j=j) == EllipticCurve(j=j)
True

Should that be fixed as well (in addition to the memory leak)?

Cheers,
Simon

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to