#9958: Upgrade python to 2.7.x
---------------------------+------------------------------------------------
   Reporter:  mhampton     |          Owner:  tbd                          
       Type:  enhancement  |         Status:  needs_review                 
   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
---------------------------+------------------------------------------------

Old description:

> From the release notes:
>
> Python 2.7.2 was released on June 11th, 2011.
>
> The Python 2.7 series is scheduled to be the last major version in the
> 2.x series before 2.x moves into an extended maintenance period. The 2.7
> series contains many of the features that were first released in Python
> 3.1. Improvements in this release include:
>
>     * An ordered dictionary type
>     * New unittest features including test skipping, new assert methods,
> and test discovery
>     * A much faster io module
>     * Automatic numbering of fields in the str.format() method
>     * Float repr improvements backported from 3.x
>     * Tile support for Tkinter
>     * A backport of the memoryview object from 3.x
>     * Set literals
>     * Set and dictionary comprehensions
>     * Dictionary views
>     * New syntax for nested with statements
>     * The sysconfig module
>
> Fixes #1159
>
> New spkg: [http://spkg-upload.googlecode.com/files/python-2.7.2.p0.spkg]
>
> Apply:
>  * [attachment:trac_9958-fixing_numericalnoise-part1_p3.patch]
>  * [attachment:trac_9958-fixing_numericalnoise-part2.patch]
>  * [attachment:trac_9958-fixing_numericalnoise-part3.patch]
>  * [attachment:trac_9958-fixing_numericalnoise-part4.patch]
>  * [attachment:trac_9958-fix_transcendental.patch]
>  * [attachment:trac_9958-gsl_integration.patch]
>  * [attachment:trac_9958-matrix_mod2e_dense.patch]
>  * [attachment:trac_9958-fix_randstate.pyx]
>  * [attachment:trac_9958-fixing_colorspy.patch]
>  * [attachment:trac_9958-fix-list_index.patch]
>  * [attachment:trac_9958-fix-pureAssertError.patch]
>  * [attachment:trac_9958-sage_unittest.patch]
>  * [attachment:trac_9958-mixedfix_p1.patch]
>  * [attachment:trac_9958-fix-misc_cythonpy.patch]
>  * [attachment:trac_9958-e_one_star.patch]
>  * [attachment:trac_9958-symbolic_callable.patch]
>  * [attachment:trac_9958-finite_crystals.patch]
>  * [attachment:trac_9958-fix-real_mpfr.patch]
>  * [attachment:trac_9958-32_64bit_messages.patch]
>  * [attachment:trac_9958_junk_valueerror.patch]
>  * [attachment:trac_9958-nfactor_enumerable_word-randomness.patch]
>  * [attachment:trac_9958-suffix_trees-variations.patch]

New description:

 From the release notes:

 Python 2.7.2 was released on June 11th, 2011.

 The Python 2.7 series is scheduled to be the last major version in the 2.x
 series before 2.x moves into an extended maintenance period. The 2.7
 series contains many of the features that were first released in Python
 3.1. Improvements in this release include:

  * An ordered dictionary type
  * New unittest features including test skipping, new assert methods, and
 test discovery
  * A much faster io module
  * Automatic numbering of fields in the str.format() method
  * Float repr improvements backported from 3.x
  * Tile support for Tkinter
  * A backport of the memoryview object from 3.x
  * Set literals
  * Set and dictionary comprehensions
  * Dictionary views
  * New syntax for nested with statements
  * The sysconfig module

 Fixes #1159

 New spkg: [http://spkg-upload.googlecode.com/files/python-2.7.2.p0.spkg]

 Apply:

  * [attachment:trac_9958-fixing_numericalnoise-part1_p3.patch]
  * [attachment:trac_9958-fixing_numericalnoise-part2.patch]
  * [attachment:trac_9958-fixing_numericalnoise-part3.patch]
  * [attachment:trac_9958-fixing_numericalnoise-part4.patch]
  * [attachment:trac_9958-fix_transcendental.patch]
  * [attachment:trac_9958-gsl_integration.patch]
  * [attachment:trac_9958-matrix_mod2e_dense.patch]
  * [attachment:trac_9958-fix_randstate.pyx]
  * [attachment:trac_9958-fixing_colorspy.patch]
  * [attachment:trac_9958-fix-list_index.patch]
  * [attachment:trac_9958-fix-pureAssertError.patch]
  * [attachment:trac_9958-sage_unittest.patch]
  * [attachment:trac_9958-mixedfix_p1.patch]
  * [attachment:trac_9958-fix-misc_cythonpy.patch]
  * [attachment:trac_9958-e_one_star.patch]
  * [attachment:trac_9958-symbolic_callable.patch]
  * [attachment:trac_9958-finite_crystals.patch]
  * [attachment:trac_9958-fix-real_mpfr.patch]
  * [attachment:trac_9958-32_64bit_messages.patch]
  * [attachment:trac_9958_junk_valueerror.patch]
  * [attachment:trac_9958-nfactor_enumerable_word-randomness.patch]
  * [attachment:trac_9958-suffix_trees-variations.patch]

--

Comment(by strogdon):

 With the current update I have the following failures:

 {{{
 32bit
 sage -t -long  -force_lib
 devel/sage-9958/sage/combinat/words/nfactor_enumerable_word
 .py
 **********************************************************************
 File
 
"/storage/sage/sage-4.8.alpha3/devel/sage-9958/sage/combinat/words/nfactor_enume
 rable_word.py", line 23:
     sage: it.next()
 Expected:
     word: 6456     # random
 Got:
     word: 6456
 **********************************************************************
 File
 
"/storage/sage/sage-4.8.alpha3/devel/sage-9958/sage/combinat/words/nfactor_enume
 rable_word.py", line 25:
     sage: it.next()
 Expected:
     word: 5645     # random
 Got:
     word: 5645
 **********************************************************************
 File
 
"/storage/sage/sage-4.8.alpha3/devel/sage-9958/sage/combinat/words/nfactor_enume
 rable_word.py", line 27:
     sage: it.next()
 Expected:
     word: 4564     # random
 Got:
     word: 4564
 **********************************************************************

 64bit

 sage -t -long  -force_lib
 devel/sage-9958/sage/combinat/words/nfactor_enumerable_word
 .py
 **********************************************************************
 File
 
"/storage/sage/sage-4.8.alpha3/devel/sage-9958/sage/combinat/words/nfactor_enume
 rable_word.py", line 23:
     sage: it.next()
 Expected:
     word: 6456     # random
 Got:
     word: 4564
 **********************************************************************
 File
 
"/storage/sage/sage-4.8.alpha3/devel/sage-9958/sage/combinat/words/nfactor_enume
 rable_word.py", line 25:
     sage: it.next()
 Expected:
     word: 5645     # random
 Got:
     word: 5645
 **********************************************************************
 File
 
"/storage/sage/sage-4.8.alpha3/devel/sage-9958/sage/combinat/words/nfactor_enume
 rable_word.py", line 27:
     sage: it.next()
 Expected:
     word: 4564     # random
 Got:
     word: 6456
 **********************************************************************
 }}}
 and on 32bit and 64bit

 {{{

 sage -t -long  -force_lib devel/sage-9958/sage/misc/randstate.pyx
 **********************************************************************
 File
 "/storage/sage/sage-4.8.alpha3/devel/sage-9958/sage/misc/randstate.pyx",
 line 15
 3:
     sage: random(), getrandbits(20), uniform(5.0, 10.0), normalvariate(0,
 1)
 Expected:
     (0.82940228518742587, 624859L, 5.77894484361117, -0.42013668263087578)
 Got:
     (0.8294022851874259, 624859L, 5.77894484361117, -0.4201366826308758)
 **********************************************************************
 }}}
 I don't recall previously seeing this particular randstate.pyx failure.
 Perhaps I've missed something.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9958#comment:202>
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