> It might be. I don't like the time function as it is written now, > since it's > done with the preparser and doesn't work when it isn't the first > thing on > a line, which is annoying. > > sage: 2 + 2; time 2 + 2 > ------------------------------------------------------------ > File "<ipython console>", line 1 > Integer(2) + Integer(2); time Integer(2) + Integer(2) > ^ > <type 'exceptions.SyntaxError'>: invalid syntax > > Hey, Nick, want to fix that? ;-)
Such things are legion, and it's actually an IPython problem. For example, 'x = 2; x?' will also fail. We could fix it, but it's likely to not be a general fix. Open a trac ticket and maybe it will get dealt with :) Nick --~--~---------~--~----~------------~-------~--~----~ 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://www.sagemath.org -~----------~----~----~----~------~----~------~--~---