tricky preparser bug in 4.01

0 views
Skip to first unread message

Utpal Sarkar

unread,
Jun 16, 2009, 8:09:48 PM6/16/09
to sage-support
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.

Dan Drake

unread,
Jun 16, 2009, 8:59:21 PM6/16/09
to sage-s...@googlegroups.com

It looks like this is a problem with the IPython interpreter's "attach".

This is now

http://sagetrac.org/sage_trac/ticket/6345

Dan

--
--- Dan Drake <dr...@kaist.edu>
----- KAIST Department of Mathematical Sciences
------- http://mathsci.kaist.ac.kr/~drake

signature.asc
Reply all
Reply to author
Forward
0 new messages