[sage-support] Re: Strange construction in autogenerated Python

2009-03-28 Thread simon . king
Hi Greg, On 28 Mrz., 06:25, Greg Kuperberg wrote: > On Mar 27, 1:39 pm, simon.k...@uni-jena.de wrote: > > > Side note: In order to change to the latest sage version, it is not > > needed to compile from scratch again. Just do > >   sage -upgrade > > on the command line. Provided that you are con

[sage-support] Re: Strange construction in autogenerated Python

2009-03-27 Thread Greg Kuperberg
On Mar 27, 1:39 pm, simon.k...@uni-jena.de wrote: > Side note: In order to change to the latest sage version, it is not > needed to compile from scratch again. Just do >   sage -upgrade > on the command line. Provided that you are connected with internet, it > will retrieve the changes from sage 3

[sage-support] Re: Strange construction in autogenerated Python

2009-03-27 Thread simon . king
Hi Greg, On 27 Mrz., 21:21, Greg Kuperberg wrote: > 1) I am using sage 3.2.3, which was current when I installed it in > January.  It was convenient for me to compile it from scratch, but it > then takes a long time to install. Side note: In order to change to the latest sage version, it is not

[sage-support] Re: Strange construction in autogenerated Python

2009-03-27 Thread Greg Kuperberg
1) I am using sage 3.2.3, which was current when I installed it in January. It was convenient for me to compile it from scratch, but it then takes a long time to install. 2) Here is my sage code. The program estimates the probability of ever getting a 6-way tie if you repeatedly roll a die and

[sage-support] Re: Strange construction in autogenerated Python

2009-03-26 Thread Dan Drake
On Thu, 26 Mar 2009 at 10:24PM -0700, Timothy Clemans 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". I think he's curious about Integer() being applied twice, when once is obvi

[sage-support] Re: Strange construction in autogenerated Python

2009-03-26 Thread mabshoff
On Mar 26, 10:24 pm, Timothy Clemans 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 > > wrote: > > > Hi.  I see tha

[sage-support] Re: Strange construction in autogenerated Python

2009-03-26 Thread Timothy Clemans
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". On Thu, Mar 26, 2009 at 9:52 PM, Greg Kuperberg wrote: > > Hi.  I see that when I make file called foo.sage, sage precompiles it > into anot