#14169: Let %attach behave like the old attach, and provide a doctest for 
%attach
------------------------------+---------------------------------------------
   Reporter:  SimonKing       |             Owner:  was     
       Type:  defect          |            Status:  new     
   Priority:  major           |         Milestone:  sage-5.8
  Component:  user interface  |          Keywords:          
Work issues:                  |   Report Upstream:  N/A     
  Reviewers:                  |           Authors:          
  Merged in:                  |      Dependencies:          
   Stopgaps:                  |  
------------------------------+---------------------------------------------
 Currently (sage-5.8.beta0), when using `attach /path/to/file.pyx`, one
 gets a deprecation warning and is told to use `%attach` instead of
 `attach`.

 Problem: If one changes the file that is attached with `%attach` then no
 automatic re-compilation happens. But that would be the main point of
 attaching a file! And the automatic re-compilation used to be a feature of
 `attach`. Hence, changing from `attach` to `%attach` is a regression.

 Moreover, it seems that `%attach` is not doc-tested.

 Not clear if "user interface" is the right component, but `attach` is used
 in interactive sessions, after all...

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14169>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to