Charles R Harris charlesr.harris at
Tue Oct 17 13:25:18 CDT 2006

On 10/12/06, Cristian Codorean <cristian.codorean at> wrote:
> Hello list,
>   I got some old code that uses Scientific and Numeric. Recently, these
> two packages were updated to the latest versions together with python and my
> code started failing. The first major problem I have is when downcasting.
> Code that used to work now fails because the array cannot be safely cast
> anymore to the required type. If anyone could help me please and direct me
> to some documentation about when this change happened (version), why it
> happened, is there any other solution but using astype, can numpy help me in
> anyway in this situation, because I got really lost ...

This seems related to a more recent thread. Travis says that numeric
throwing an error on downcasting is traditional, so I am curious as to why
the previous code should have worked.

-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
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
-------------- next part --------------
Numpy-discussion mailing list
Numpy-discussion at

More information about the Numpy-discussion mailing list