#9808: Upgrade numpy to 1.5.0 and scipy to 0.8
----------------------------------------------------------------------------------+
   Reporter:  maldun                                                            
  |       Owner:  maldun                                      
       Type:  task                                                              
  |      Status:  needs_work                                  
   Priority:  major                                                             
  |   Milestone:  sage-4.6                                    
  Component:  packages                                                          
  |    Keywords:  numpy, scipy                                
     Author:  Stefan Reiterer, Francois Bissey, John Palmieri, David Kirkby     
  |    Upstream:  Fixed upstream, but not in a stable release.
   Reviewer:  Karl-Dieter Crisman, David Kirkby, Leif Leonhardy, Francois 
Bissey  |      Merged:                                              
Work_issues:                                                                    
  |  
----------------------------------------------------------------------------------+

Comment(by drkirkby):

 You are OK with the bash shell, but it is '''very''' unportable to have no
 space before the left bracket. That will break with many shells, so is not
 a good habit to get into.

 See example below:

 {{{
 -bash-3.00$ cat bad
 #!/bin/sh
 if [ `uname` = "Darwin"]; then
   echo "This is OS X"
 fi
 -bash-3.00$ ./bad
 ./bad: test: ] missing
 }}}

 Now just add a space:

 {{{
 -bash-3.00$ cat good
 #!/bin/sh
 if [ `uname` = "Darwin" ]; then
   echo "This is OS X"
 fi
 -bash-3.00$ ./good
 -bash-3.00$
 }}}

 Since this was a Solaris system, not OS X, {{{good}}} did '''not''' print
 it was OS X.

 {{{
 -bash-3.00$ uname
 SunOS
 }}}

 Just like Python, different people have different styles, and some are
 more portable than others. But that lack of a space is particular
 troublesome.

 Dave

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