[Numpy-discussion] What type should / return in python 3k when applied to two integer types?

Neal Becker ndbecker2@gmail....
Fri Aug 28 08:46:39 CDT 2009

Robert Kern wrote:

> On Thu, Aug 27, 2009 at 14:22, Christopher Barker<Chris.Barker@noaa.gov>
> wrote:
>> By the way -- is there something about py3k that changes all this? Or is
>> this just an opportunity to perhaps make some backward-incompatible
>> changes to numpy?
> Python 3 makes the promised change of int/int => float.

Does that mean that we want numpy to do the same?  I'm not so sure.  Sounds 
like opening a can of worms (numpy has more types to worry about than just 
int and float.  If we start playing strange games we may regret it.)

More information about the NumPy-Discussion mailing list