Hi Jason (Grout), I found a very serious bug sort of similar to the one being discussed in this thread. Namely, if you make an interact like this things go horribly wrong:
@interact def f(s=(0,pi,1)): print s I've posted a patch here http://trac.sagemath.org/sage_trac/ticket/5232 Please review it. William On Mon, Feb 9, 2009 at 4:36 PM, kcrisman <kcris...@gmail.com> wrote: > >> The patch makes it so that u=x^2 works, where it didn't before (it gave >> you that weird string). What changes is that typing u='x^2' now >> literally puts 'x^2' (with the quote marks) in the input box, whereas >> before the patch, only x^2 (without quote marks) would show up in the >> input box. >> >> In short, the patch fixes your original complaint. However, it changes >> how strings are handled when specified as default values. > > I see. I should point out again that u=x^2 worked fine in the very > recent past. Is there no way to get that both 'x^2' (for presumably > lots of code exists that used that; a cursory look at the Wiki reveals > at last a few with "x^2" or 'x^2') and x^2 (the obvious thing, which > most wiki examples use) *both* work as intended? I ask out of > ignorance. > > - kcrisman > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---