On Tue, 23 Jan 2007 13:56:45 -0800, David Harvey <[EMAIL PROTECTED]> wrote:
> > A new behaviour just cropped up in SAGE.... > > If I have a .sage script containing the line > > time = float(time) > > something in there decides to treat this as timing the line "= > float(time)". I don't know if this is the preparser or what. Apparently > it didn't used to do this because I haven't changed my script and it > only just starting doing this now. I guess someone updated the code to > recognise timing commands in indented blocks. > > Is this behaviour going to be permanent? i.e. should I just change the > variable name, or is this considered a bug? > Hey that was my fix to a bug that was reported recently. I.e., people complained that "time" didn't work in scripts. Now it does. I think you should change your code and view "time" as a reserved word (along with "load" and "attach"). That's no worse than MAGMA: magma ... >> time := 5; ^ User error: bad syntax -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---