#11115: Rewrite cached_method in Cython
-----------------------------------------------------+----------------------
   Reporter:  SimonKing                              |          Owner:  jason   
                 
       Type:  enhancement                            |         Status:  
needs_info               
   Priority:  major                                  |      Milestone:  
sage-4.7.2               
  Component:  misc                                   |       Keywords:  
category cython cache    
Work_issues:                                         |       Upstream:  N/A     
                 
   Reviewer:  Nicolas M. ThiƩry, Andrey Novoseltsev  |         Author:  Simon 
King               
     Merged:                                         |   Dependencies:  #9976 
#11298 #11342 #9138
-----------------------------------------------------+----------------------

Comment(by SimonKing):

 Replying to [comment:104 vbraun]:
 > But whenever `_extract_embedded_position` does not return `None` the
 line number is chopped off in `sage_doc()`.

 I see, that could be it. However, as I have indicated above,
 `_extract_embedded_position` returns something non-None in both your
 examples, on my machine.

 But let us consider the doc of `sage_getdoc`: It states that the embedded
 position is stripped from the doc string. Hence, actually the embedding
 should be shown with `_sage_getdoc_unformatted`, but not with
 `_sage_getdoc`.

 So, after all, the fact that the embedded position is ''not'' stripped on
 my machine could be a bug.

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