#9958: Upgrade python to 2.7.x
---------------------------+------------------------------------------------
   Reporter:  mhampton     |          Owner:  tbd                          
       Type:  enhancement  |         Status:  needs_work                   
   Priority:  major        |      Milestone:  sage-5.0                     
  Component:  packages     |       Keywords:                               
Work_issues:               |       Upstream:  N/A                          
   Reviewer:               |         Author:  François Bissey              
     Merged:               |   Dependencies:  #5852, #11986, #12085, #12096
---------------------------+------------------------------------------------

Comment(by strogdon):

 On x86 with sage-4.8.alpha3 + #9958 + #11986 I have the following
 failures:

 {{{
 sage -t -long  -force_lib devel/sage-main/sage/gsl/integration.pyx
 **********************************************************************
 File "/storage/sage/sage-4.8.alpha3/devel/sage-
 main/sage/gsl/integration.pyx", line 110:
     sage: numerical_integral(x^2, 0, 1, max_points=100)
 Expected:
     (0.33333333333333331, 3.7007434154171879e-15)
 Got:
     (0.3333333333333333, 3.700743415417188e-15)
 **********************************************************************
 File "/storage/sage/sage-4.8.alpha3/devel/sage-
 main/sage/gsl/integration.pyx", line 115:
     sage: numerical_integral(sin(x)^3 + sin(x),  0, pi)
 Expected:
     (3.333333333333333, 3.7007434154171883e-14)
 Got:
     (3.333333333333333, 3.700743415417188e-14)
 **********************************************************************
 File "/storage/sage/sage-4.8.alpha3/devel/sage-
 main/sage/gsl/integration.pyx", line 120:
     sage: numerical_integral(lambda x: sin(x)^3 + sin(x),  0, pi)
 Expected:
     (3.333333333333333, 3.7007434154171883e-14)
 Got:
     (3.333333333333333, 3.700743415417188e-14)
 **********************************************************************
 File "/storage/sage/sage-4.8.alpha3/devel/sage-
 main/sage/gsl/integration.pyx", line 131:
     sage: numerical_integral(f, 0, 1, max_points=200, eps_abs=1e-7,
 eps_rel=1e-7, rule=4)
 Expected:
     (0.33333333333333331, 3.7007434154171879e-15)
 Got:
     (0.3333333333333333, 3.700743415417188e-15)
 **********************************************************************
 File "/storage/sage/sage-4.8.alpha3/devel/sage-
 main/sage/gsl/integration.pyx", line 172:
     sage: exp(-1/x).nintegral(x, 1, 2)  # via maxima
 Expected:
     (0.50479221787318396, 5.6043194293440752e-15, 21, 0)
 Got:
     (0.504792217873184, 5.604319429344075e-15, 21, 0)
 **********************************************************************
 }}}
 {{{
 sage -t -long  -force_lib devel/sage-main/sage/misc/randstate.pyx
 **********************************************************************
 File "/storage/sage/sage-4.8.alpha3/devel/sage-
 main/sage/misc/randstate.pyx", line 61:
     sage: rtest()
 Expected:
     (978, 0.184109262667515, -3*x^2 - 1/12, (4,5), [ 0, 1, 1, 0, 0 ],
 1161603091, 60359, 0.83350776541997362)
 Got:
     (978, 0.184109262667515, -3*x^2 - 1/12, (4,5), [ 0, 1, 1, 0, 0 ],
 1161603091, 60359, 0.8335077654199736)
 **********************************************************************
 }}}
 {{{
 sage -t -long  -force_lib devel/sage-
 main/sage/matrix/matrix_mod2e_dense.pyx
 **********************************************************************
 File "/storage/sage/sage-4.8.alpha3/devel/sage-
 main/sage/matrix/matrix_mod2e_dense.pyx", line 790:
     sage: float(A.density())
 Expected:
     0.099738...
 Got:
     0.099739
 **********************************************************************
 File "/storage/sage/sage-4.8.alpha3/devel/sage-
 main/sage/matrix/matrix_mod2e_dense.pyx", line 798:
     sage: float(A.density())
 Expected:
     0.499759...
 Got:
     0.49976
 **********************************************************************
 }}}
 {{{
 sage -t -long  -force_lib devel/sage-main/sage/functions/transcendental.py
 **********************************************************************
 File "/storage/sage/sage-4.8.alpha3/devel/sage-
 main/sage/functions/transcendental.py", line 80:
     sage: w = exponential_integral_1(2,4); w
 Expected:
     [0.04890051070806112, 0.0037793524098489067, 0.00036008245216265873,
 3.7665622843924751e-05]
 Got:
     [0.04890051070806112, 0.0037793524098489067, 0.00036008245216265873,
 3.766562284392475e-05]
 **********************************************************************
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9958#comment:182>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to