#6345: load/attach do not recursively preparse files when run in interpreter
----------------------------+-----------------------------------------------
 Reporter:  ddrake          |       Owner:  was                         
     Type:  defect          |      Status:  new                         
 Priority:  major           |   Milestone:  sage-4.0.3                  
Component:  user interface  |    Keywords:  preparse ipython attach load
 Reviewer:                  |      Author:                              
   Merged:                  |  
----------------------------+-----------------------------------------------
 From http://groups.google.com/group/sage-
 support/browse_thread/thread/9aa4fa8cdb5d8b90:

 {{{
 After a lot of headaches over some mysterious behaviour in some
 scripts, I found the following:
 I have two files:
 test1.sage contains:
 attach test2.sage
 print "test1", 1/2

 test2.sage contains:
 print "test2", 1/2

 When I say on the command line of sage 3.3: attach test1.sage, the
 output is (correctly):
 sage: attach test1.sage
 test2 1/2
 test1 1/2

 But on sage 4.01, the output is:
 sage: attach test1.sage
 test2 0
 test1 1/2

 It looks as if on a file that is attached from another attached file,
 no preparsing takes place. If within this same session I touch
 test2.sage, it works fine.
 }}}

 This is only a problem in the IPython interpeter; when running from the
 command line, the files are recursively preparsed correctly.

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