On Fri, Sep 28, 2007 at 03:07:30PM -0400, Nadia Dencheva wrote:
> This should return an error and not silently truncate to int.

Why do you say that?  The current behaviour is consistent and well
defined:

a[x] == a[int(x)]

We certainly can't change it now (just imagine all the code out there
that will break); but I personally don't think it is a big problem.

On a somewhat related note, you may also be interested in the PEP at

http://docs.python.org/whatsnew/pep-357.html

Regards
Stéfan


_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to