[SciPy-dev] Typo in r3439

Nils Wagner nwagner@iam.uni-stuttgart...
Fri Oct 19 12:57:44 CDT 2007


On Fri, 19 Oct 2007 16:33:02 +0200
  "Nils Wagner" <nwagner@iam.uni-stuttgart.de> wrote:
> Hi all,
> 
> This is to let you know that r3439 has a bug
> 
> from scipy.sandbox import lobpcg
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File 
> "/data/home/nwagner/local/lib64/python2.3/site-packages/scipy/sandbox/lobpcg/__init__.py", 
> line 4, in ?
>     import lobpcg
>   File 
> "/data/home/nwagner/local/lib64/python2.3/site-packages/scipy/sandbox/lobpcg/lobpcg.py", 
> line 18, in ?
>     import scipy.sparse as sp
>   File 
> "/data/home/nwagner/local/lib64/python2.3/site-packages/scipy/sparse/__init__.py", 
> line 5, in ?
>     from sparse import *
>   File 
> "/data/home/nwagner/local/lib64/python2.3/site-packages/scipy/sparse/sparse.py", 
> line 179
>     for ind in xrange(start,stop)) + '\n'
>       ^
> SyntaxError: invalid syntax
> 
> 
> Nils
> 
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev

  
I cannot reproduce the SyntaxError with python2.5.
Is this problem restricted to python2.3 ?

Nils


More information about the Scipy-dev mailing list