#6345: load/attach do not recursively preparse files when run in interpreter
------------------------------+---------------------------------------------
   Reporter:  ddrake          |       Owner:  was                         
       Type:  defect          |      Status:  needs_info                  
   Priority:  major           |   Milestone:  sage-4.3.1                  
  Component:  user interface  |    Keywords:  preparse ipython attach load
     Author:                  |    Upstream:  N/A                         
   Reviewer:                  |      Merged:                              
Work_issues:  Already fixed?  |  
------------------------------+---------------------------------------------
Changes (by mpatel):

  * status:  new => needs_info
  * work_issues:  => Already fixed?
  * upstream:  => N/A


Comment:

 This appears to be fixed, post-#7514.  For example, with
 {{{
 #!sh
 > cat test1.sage
 attach test2.sage
 print "test1", [1..10]
 > cat test2.sage
 print "test2", [11..20]
 }}}
 I see
 {{{
 #!python
 sage: attach test1.sage
 test2 [11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
 test1 [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
 sage: attached_files()
 ['test1.sage', 'test2.sage']
 sage: # After 'touch test2.sage'
 test2 [11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
 sage: # After 'touch test1.sage'
 test2 [11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
 test1 [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
 }}}
 If I'm correct, should we close this ticket?

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