When I depickle elements of SymbolicRing, they have different parents
even though there should be only one SymbolicRing.

sage: save(sqrt(2), "x")
sage: save(sqrt(2), "y")
sage: y = load("y")
sage: x = load("x")
sage: x*y
---------------------------------------------------------------------------
<type 'exceptions.RuntimeError'>          Traceback (most recent call last)

/scratch/sage-2.3/<ipython console> in <module>()

/scratch/sage-2.3/element.pyx in element.RingElement.__mul__()

/scratch/sage-2.3/element.pyx in element.bin_op_c()

/scratch/sage-2.3/element.pyx in element.canonical_coercion_c()

/scratch/sage-2.3/element.pyx in element._verify_canonical_coercion_c()

<type 'exceptions.RuntimeError'>: There is a bug in the coercion code in SAGE.
Both x (=                                   sqrt(2)) and y (=
                     sqrt(2)) are supposed to have identical parents
but they don't.
In fact, x has parent 'Symbolic Ring'
whereas y has parent 'Symbolic Ring'

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to