#5726: [with patch, needs review] "Definition:" missing/wrong/messed up both in
notebook and command line in different ways for both python and cython code
(frickin')
---------------------------+------------------------------------------------
 Reporter:  was            |       Owner:  tba       
     Type:  defect         |      Status:  new       
 Priority:  major          |   Milestone:  sage-4.1.2
Component:  documentation  |    Keywords:            
 Reviewer:                 |      Author:            
   Merged:                 |  
---------------------------+------------------------------------------------

Comment(by jhpalmieri):

 The problems lie in sage.misc.sageinspect.

 The issue with {{{factor}}} is a one-line fix -- see the patch.
 ("defaults" was missing from the return value of the function
 {{{sage_getargspec}}}.)

 The issue with {{{RDF.random_element}}} is a cython one.  To get the
 arguments of a Cython function, as far as I can tell, the source code is
 scanned and parsed, so ''everything'' is a string.  The default arguments
 are therefore returned as strings.  See the function
 {{{_sage_getargspec_cython}}} -- the examples even demonstrate this.  I
 don't have a good idea for a simple fix yet.  Since this is a separate
 issue, the first patch can be reviewed, and if we don't find a quick fix
 for the Cython issue, we can open a new ticket just for that.

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