#6781: [with patch, needs review] Library access to ecl
---------------------------+------------------------------------------------
   Reporter:  nbruin       |       Owner:  nbruin      
       Type:  enhancement  |      Status:  needs_review
   Priority:  major        |   Milestone:  sage-4.2.1  
  Component:  packages     |    Keywords:              
Work_issues:               |      Author:              
   Reviewer:               |      Merged:              
---------------------------+------------------------------------------------

Comment(by was):

 > I noticed that sage doctesting routines prefer to have a test like that.
 >  My first reaction is "can't be done".

 Yes it can.    If s == loads(dumps(s)) will be false for any element, or
 raise an error, put a discussion of that fact in a docstring and put in a
 doctest like this:
 {{{
 sage: s == loads(dumps(s))
 boom or False
 }}}
 There's no reason to hide that this doesn't work from users.

 > How do other interfaces solve that (pari, magma, maxima/pexpect, maple)

 magma can't.  pari has the amazing property that for any pretty much any x
 in pari we have eval(str(x)) == x (with pari notation).    I think the
 same is true in maxima for symbolic expressions.

 This code is new, so is going to be held to a higher standard before being
 included than code from 2005.

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