#11580: Magma interface cannot convert multivariate polynomials back to sage
-------------------------------------------+--------------------------------
   Reporter:  nbruin                       |          Owner:  was       
       Type:  defect                       |         Status:  needs_work
   Priority:  minor                        |      Milestone:  sage-4.7.2
  Component:  interfaces                   |       Keywords:            
Work_issues:  rebase on top of #11456      |       Upstream:  N/A       
   Reviewer:  William Stein, Marco Streng  |         Author:  Nils Bruin
     Merged:                               |   Dependencies:            
-------------------------------------------+--------------------------------
Changes (by mstreng):

  * reviewer:  William Stein => William Stein, Marco Streng
  * work_issues:  Coordinate with #11456 => rebase on top of #11456


Comment:

 This patch breaks conversion of finite field elements from Magma to Sage.

 Without patch:
 {{{
 sage: magma(GF(2)(1)).sage()
 1
 }}}
 With patch:
 {{{
 sage: magma(GF(2)(1)).sage()
 ...
 Segmentation fault
 ...
 Magma crashed executing _sage_[3], _sage_[4] := Sage(_sage_[2]);
 }}}
 With patch:
 {{{
 sage -t -only-optional=magma
 devel/sage/sage/rings/finite_rings/element_givaro.pyx
 (same crash)
 }}}

 When converting finite field elements from Magma to Sage, they are first
 converted to a {{{SeqEnum}}} of finite field elments. In particular, a
 proper implementation of conversions of {{{SeqEnum}}} to Sage sets of an
 infinite loop. This was fixed in #11456, so we should rebase this patch on
 top of #11456.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11580#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
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-trac?hl=en.

Reply via email to