#14058: Weakly reference binary operation codomains
-----------------------------------+----------------------------------------
       Reporter:  robertwb         |         Owner:  rlm         
           Type:  enhancement      |        Status:  needs_review
       Priority:  major            |     Milestone:  sage-5.7    
      Component:  memleak          |    Resolution:              
       Keywords:                   |   Work issues:              
Report Upstream:  N/A              |     Reviewers:              
        Authors:  Robert Bradshaw  |     Merged in:              
   Dependencies:  #12313           |      Stopgaps:              
-----------------------------------+----------------------------------------

Comment (by SimonKing):

 The patchbot only reports one error, namely
 {{{
 File
 
"/home/patchbot/sage-5.7.beta3/devel/sage-14058/sage/rings/number_field/number_field_ideal.py",
 line 118:
     sage: convert_to_idealprimedec_form(K, P)
 Exception raised:
     Traceback (most recent call last):
       File "/home/patchbot/sage-5.7.beta3/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/home/patchbot/sage-5.7.beta3/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/home/patchbot/sage-5.7.beta3/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_2[5]>", line 1, in <module>
         convert_to_idealprimedec_form(K, P)###line 118:
     sage: convert_to_idealprimedec_form(K, P)
       File "/home/patchbot/sage-5.7.beta3/local/lib/python/site-
 packages/sage/rings/number_field/number_field_ideal.py", line 124, in
 convert_to_idealprimedec_form
         K_bnf = gp(field.pari_bnf())
       File "/home/patchbot/sage-5.7.beta3/local/lib/python/site-
 packages/sage/interfaces/interface.py", line 201, in __call__
         return self._coerce_from_special_method(x)
       File "/home/patchbot/sage-5.7.beta3/local/lib/python/site-
 packages/sage/interfaces/interface.py", line 227, in
 _coerce_from_special_method
         return (x.__getattribute__(s))(self)
       File "sage_object.pyx", line 485, in
 sage.structure.sage_object.SageObject._gp_
 (sage/structure/sage_object.c:4804)
       File "sage_object.pyx", line 450, in
 sage.structure.sage_object.SageObject._interface_
 (sage/structure/sage_object.c:4144)
       File "/home/patchbot/sage-5.7.beta3/local/lib/python/site-
 packages/sage/interfaces/interface.py", line 199, in __call__
         return cls(self, x, name=name)
       File "/home/patchbot/sage-5.7.beta3/local/lib/python/site-
 packages/sage/interfaces/expect.py", line 1280, in __init__
         self._name = parent._create(value, name=name)
       File "/home/patchbot/sage-5.7.beta3/local/lib/python/site-
 packages/sage/interfaces/interface.py", line 389, in _create
         self.set(name, value)
       File "/home/patchbot/sage-5.7.beta3/local/lib/python/site-
 packages/sage/interfaces/gp.py", line 511, in set
         raise TypeError, "Error executing code in
 GP:\nCODE:\n\t%s\nPARI/GP ERROR:\n%s"%(cmd, out)
     TypeError: Error executing code in GP:
     CODE:
         sage[14]=[[;], matrix(0,7), [;], Mat([0.E-38 + 3.52184386028273*I,
 0.E-37 + 3.70366245659542*I, 0.E-37 + 2.91167081258838*I, 0.E-38 +
 3.14159265358979*I, 0.E-38 + 9.04452675407645*I, 0.E-37 +
 8.86270815776375*I, 0.E-37 + 9.65469980177079*I]), [[7, [-1, 2]~, 1, 1,
 [3, -2; 2, 1]], [13, [-5, 2]~, 1, 1, [-6, -2; 2, -8]], [19, [-3, 2]~, 1,
 1, [5, -2; 2, 3]], [3, [1, 2]~, 2, 1, [1, 1; -1, 2]], [7, [3, 2]~, 1, 1,
 [-1, -2; 2, -3]], [13, [7, 2]~, 1, 1, [-5, -2; 2, -7]], [19, [5, 2]~, 1,
 1, [-3, -2; 2, -5]]], 0, [y^2 + 3, [0, 1], -3, 2, [Mat([1,
 -0.500000000000000 - 0.866025403784439*I]), [1, -1.36602540378444; 1,
 0.366025403784439], [1, -1; 1, 0], [2, -1; -1, -1], [3, 2; 0, 1], [1, -1;
 -1, -2], [3, [2, -1; 1, 1]]], [0.E-38 - 1.73205080756888*I], [1, 1/2*y -
 1/2], [1, 1; 0, 2], [1, 0, 0, -1; 0, 1, 1, -1]], [[1, [], []], 1, 1, [6,
 -1/2*y + 1/2], []], [[;], [], []], [0, []]];
     PARI/GP ERROR:
       ***   at top-level: sage[14]=[[;],matrix(0,7
       ***                     ^--------------------
       ***   _[_]: not a vector.
   ***   Warning: precision too low for generators, not given.
 }}}
 That's obscure to me. What does it mean?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14058#comment:22>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to