#7377: Symbolic Ring to Maxima via EclObject
-----------------------------------------------------------------------+----
   Reporter:  nbruin                                                   |       
Owner:  nbruin      
       Type:  enhancement                                              |      
Status:  needs_work  
   Priority:  major                                                    |   
Milestone:  sage-feature
  Component:  symbolics                                                |    
Keywords:              
     Author:  Nils Bruin, Jean-Pierre Flori                            |    
Upstream:  N/A         
   Reviewer:  Jean-Pierre Flori, François Bissey, Karl-Dieter Crisman  |      
Merged:              
Work_issues:                                                           |  
-----------------------------------------------------------------------+----

Comment(by jpflori):

 Replying to [comment:103 fbissey]:

 > Tried all the patches on top of the current 4.7.alpha2. Apart from the
 already much discussed doctests errors mentioned so far I had one in
 interfaces/maxima_abstract.py ` sage -t -long -force_lib
 "devel/sage/sage/interfaces/maxima_abstract.py"
 **********************************************************************
 File "/usr/share/sage/devel/sage/sage/interfaces/maxima_abstract.py", line
 197: sage: sorted(maxima._commands(verbose=False)) Expected: ['Alpha',
 'Beta', ... 'zunderflow'] Got: ['Alpha', 'Beta',  <cut a very long list>
 'zunderflow', 'zz'] `

 The problem here is that some doctest in maxima_abstract.py creates
 something called 'zz' and if the test line 197 gets executed afterwards,
 self.!__commands gets built then and includes 'zz', it fails... not really
 sure why this happens now and did not before.

 If I put a call to self._commands() at the beginning of the doctest for
 trait_names(), self.!__commands is built without 'zz'.

 So we could consider that this is not a bug.

 What's more problematic is that the result of _commands() gets cached and
 includes a fraction of random variable names (as 'sage???' and the
 problematic 'zz'). that was already the case before but fortunately no var
 between 'Alpha' and 'Beta' or after 'zunderflow' was created.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7377#comment:106>
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