[SciPy-dev] non-integer sequence index

Pearu Peterson pearu at cens.ioc.ee
Mon May 3 11:21:52 CDT 2004


On Mon, 3 May 2004, Travis N. Vaught wrote:

> Did we add some scipy_distutils functionality that requires (doesn't 
> prohibit) float sequence indexes?

Actually string[<slice object>] does not work for Python 2.1 and 2.2.

>  Builds for 2.1 and 2.2 are broken...
 
> building extension "scipy.sparse.sparsetools" sources
<snip>
>     expanded = expand_sub(newstr[obj],get_line_header(newstr,sub[0]))
> TypeError: sequence index must be integer

This is fixed in CVS.

Pearu




More information about the Scipy-dev mailing list