On Mar 26, 10:24 pm, Timothy Clemans <timothy.clem...@gmail.com>
wrote:
> Instead of actually modifying Python to fix some annoyances Sage uses
> IPython to preparse the code. For example in Sage "4 ^ 6" is preparsed
> into "4 ** 6".
Yep.
> On Thu, Mar 26, 2009 at 9:52 PM, Greg Kuperberg
>
> <greg.kuperb...@gmail.com> wrote:
>
> > Hi. I see that when I make file called foo.sage, sage precompiles it
> > into another file called foo.py. The code statement in this file is:
>
> > _sage_const_2 = Integer(Integer(2))
>
> > Surely this is wrong? Maybe it does not matter if this Python code is
> > only executed once. But still it looks strange.
What Sage release are you using? In Sage 3.3 or so there was a bug so
that each input was preparsed twice, but that has since been fixed.
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---