#8495: Regression: Many mathematica doctests now fail
------------------------------------------+---------------------------------
   Reporter:  flawrence                   |       Owner:  flawrence   
       Type:  defect                      |      Status:  needs_review
   Priority:  major                       |   Milestone:  sage-4.6.1  
  Component:  interfaces                  |    Keywords:              
     Author:  Felix Lawrence              |    Upstream:  N/A         
   Reviewer:  Mike Hansen, Burcin Erocal  |      Merged:              
Work_issues:                              |  
------------------------------------------+---------------------------------
Changes (by flawrence):

  * status:  needs_work => needs_review


Comment:

 Thanks for your suggestions Burcin.  I implemented all of them, and made
 some significant further changes:

 Now we actually check whether each function exists, before we try to
 convert the entire expression.  This allows us to check several variations
 of mma's function names, such as a downcased version, a down_cased
 version, and the original name.  In order to do this I needed to add an
 option to sage.calculus.calculus._find_func() whereby it wouldn't
 automatically create a symbolic function if none were present in Sage.  We
 now also try the same downcasing tricks for constants.

 In order to convert from CamelCase to camel_case I used code from
 [http://stackoverflow.com/questions/1175208/does-the-python-standard-
 library-have-function-to-convert-camelcase-to-camel-case stack overflow].
 I presume such code is public domain and doesn't require attribution in
 the docstring.

 I also realised that the documentation for _sage_ won't get into Sage's
 HTML documentation so I added a short section in the module's
 documentation that reproduces some of the material in the docstring for
 _sage_().

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