[Numpy-discussion] __iadd__(ndarray<int>, ndarray<float>)

Andreas Klöckner lists@informa.tiker....
Tue Mar 25 00:08:35 CDT 2008

On Dienstag 25 März 2008, Travis E. Oliphant wrote:
> > Question: If it's a known trap, why not change it?
> It also has useful applications.  Also, it can only happen at with a
> bump in version number to 1.1

I'm not trying to make the functionality go away. I'm arguing that

int_array += downcast_ok(float_array)

should be the syntax for it. downcast_ok could be a view of float_array's data 
with an extra flag set, or a subclass.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080325/de802ec0/attachment.bin 

More information about the Numpy-discussion mailing list