[Numpy-discussion] integer division rule changed
Charles R Harris
Mon Mar 22 18:54:16 CDT 2010
On Mon, Mar 22, 2010 at 4:11 PM, Alan G Isaac <email@example.com> wrote:
> On 3/13/2010 8:57 PM, Charles R Harris wrote:
> > I suspect the change was made, whenever that was, in order to conform to
> > python.
> So is there an actual polcy? When C99 behavior
> and Python behavior differ, will NumPy follow
> Python as a *rule*?
I don't know if it is official policy, but in python3.x integer division
becomes true division and the old behaviour has to be gotten by using //.
This will no doubt cause some problems...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion