[SciPy-dev] RE: [Scipy-chaco] Using zeros(..,typecode=Float) issue

eric jones eric at enthought.com
Wed May 14 15:51:40 CDT 2003


Ok.  Please leave the original code there commented out. I prefer to
specify the typecode keyword when using it.

Thanks,
Eric

----------------------------------------------
eric jones                    515 Congress Ave
www.enthought.com             Suite 1614
512 536-1057                  Austin, Tx 78701 


> -----Original Message-----
> From: scipy-chaco-admin at scipy.org [mailto:scipy-chaco-admin at scipy.org]
On
> Behalf Of Pearu Peterson
> Sent: Wednesday, May 14, 2003 2:39 PM
> To: scipy-dev at scipy.net
> Cc: scipy-chaco at scipy.net
> Subject: [Scipy-chaco] Using zeros(..,typecode=Float) issue
> 
> 
> Hi,
> 
> Recently a scipy user reported that scipy won't
> build with Numeric 21.x anymore because e.g. kiva uses
> 
>   zeros(..,typecode=Float)
> 
> in a number of places. It turns out that such usage
> of `typecode` keyword is valid only in Numeric 22.x.
> 
> To restore Numeric 21.x support I suggest using
> 
>   zeros(..,Float)
> 
> instead. If there are no objection for this usage, I'll
> commit appropiate changes to CVS.
> 
> Note also that `zeros` in Numarray has signature
> 
>   zeros(shape, type)
> 
> meaning that `zeros(..,typecode=Float)` won't work
> with Numarray either.
> 
> What do you think?
> 
> Pearu
> 
> _______________________________________________
> Scipy-chaco mailing list
> Scipy-chaco at scipy.org
> http://scipy.net/mailman/listinfo/scipy-chaco





More information about the Scipy-dev mailing list