#9958: Upgrade python to 2.7
---------------------------+------------------------------------------------
   Reporter:  mhampton     |          Owner:  tbd                               
              
       Type:  enhancement  |         Status:  needs_work                        
              
   Priority:  major        |      Milestone:                                    
              
  Component:  packages     |       Keywords:                                    
              
Work_issues:               |       Upstream:  N/A                               
              
   Reviewer:               |         Author:                                    
              
     Merged:               |   Dependencies:  #11156 #11236 #11244 #11264 
#11339 #11363 #11376
---------------------------+------------------------------------------------

Comment(by fbissey):

 Regarding
 {{{
 sage -t -long -force_lib "devel/sage-
 main/sage/combinat/words/nfactor_enumerable_word.py"
 **********************************************************************
 File "/usr/share/sage/devel/sage-
 main/sage/combinat/words/nfactor_enumerable_word.py", line 20:
     sage: it.next()
 Expected:
     word: 6456
 Got:
     word: 5645
 **********************************************************************
 File "/usr/share/sage/devel/sage-
 main/sage/combinat/words/nfactor_enumerable_word.py", line 22:
     sage: it.next()
 Expected:
     word: 5645
 Got:
     word: 6456
 **********************************************************************
 }}}
 With python-2.7
 {{{
 sage: w = Word([4,5,6])^7
 sage: w
 word: 456456456456456456456
 sage: it = w.factor_iterator(4)
 sage: it.next()
 word: 5645
 sage: it.next()
 word: 6456
 sage: it.next()
 word: 4564
 }}}
 with python-2.6
 {{{
 sage: w = Word([4,5,6])^7
 sage: w
 word: 456456456456456456456
 sage: it = w.factor_iterator(4)
 sage: it.next()
 word: 6456
 sage: it.next()
 word: 5645
 sage: it.next()
 word: 4564
 }}}
 So it looks like with python 2.6 we where moving in the series of number
 with a stride 2 while python 2.7 works through the sequence with a stride
 1.

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