Style - was Re: numpy.repeat TypeError: array cannot be safely cast to required type

Colin J. Williams cjw at
Sat Nov 4 06:30:07 CST 2006

Tim Hochberg wrote:
> A style note: please use the named dtypes (int32, uint32, etc) rather 
> than the old-style letter codes; the former is much clearer. The answer 
> to your question might  have been immediately apparent had you been 
> using named dtypes.
>  Personally, I'd also prefer people use the "ones([n])" syntax instead 
> of the I-wish-it-were-deprecated-but-it's-too-much-to-hope-for "ones(n)" 
> syntax.  T
> -tim
Could you elaborate please?

Colin W.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

More information about the Numpy-discussion mailing list