#7514: rewrite load and attach
---------------------------+------------------------------------------------
   Reporter:  was          |       Owner:  tbd          
       Type:  enhancement  |      Status:  needs_work   
   Priority:  major        |   Milestone:  sage-4.3.1   
  Component:  misc         |    Keywords:               
Work_issues:               |      Author:  William Stein
   Upstream:  N/A          |    Reviewer:  Mitesh Patel 
     Merged:               |  
---------------------------+------------------------------------------------
Changes (by was):

  * status:  needs_review => needs_work


Comment:

 > When I load/attach a .(s)pyx file in the notebook, ___code__.py appears
 in
 > the cell's output HTML.

 That's a bug.  I'll fix it soon.

 > Minor: Should we make attached_files() in the notebook report

 I'm not sure.  But I think this should be a separate ticket, since it
 would be a new feature.

 >     * Typing f??<TAB> for a function f defined in the notebook shows its
 docstring but > not its source code.

 That's really weird, because it is one of the problems that this patch
 definitely fixes.  Are you sure?   Did you define a function f in one
 input cell, then do f?? in another, and it didn't show the source code?
 Were you using a clean sagenb-0.4.8 install for testing?  Maybe I messed
 up posting the patch.

 > Minor: save_notebook appears to be called twice on shutdown. Is this a
 fail-safe behavior?

 This has been the case forever.  It is not caused by this patch.  I don't
 think it is desirable.  Please do open a ticket.

 OK, so I'm going to fix the ___code___.py issue you reported above, triple
 check that f?? works, and if not, figure out what went wrong, then mark
 this as "needs review" again.

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