On 02/01/2010 07:15 AM, xtian wrote: > On 1 Feb., 11:12, Pat LeSmithe <qed...@gmail.com> wrote: >> Could you please give a specific example (e.g., file contents, commands >> to evaluate in sequence) that exhibits the problem?
Thanks! I think this happens because sage.misc.reset.reset calls reset_attached(). According to hg log reset.pyx -p we added this line at #7514. I'm not very familiar with Cython, but... Are there any objections to adding a keyword option attached=True? Then you could put reset(attached=False) in attached scripts. >> On 01/27/2010 02:31 PM, xtian wrote: >>> In the Sage 4.3.1 interpreter, an attached file gets re-read >>> exactly two times when changed. Subsequent changes >>> (saved to disk, of course) do not trigger re-reading the file. I've also noticed this two-timing behavior, just as I was experimenting with your example above, but it's sporadic and I can't reproduce it reliably. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org