> But if I have the coordinates of the points in an array, I have to reshape it
> and then convert it into a list. Or convert it into a list and then convert it
> to a tuple. I know that advanced indexing is useful, but here it is not
> coherent. tuples and lists should have the same result on the array, or at
> least it should be documented.

I can't give you the reasons why that behaviour was chosen. But it's simply
wrong that it's not documented. Before answering you I read the corresponding
chapter in the numpy book to be sure not to tell you nonsense. So go ahead and
do so, too.


Thank you for this answer, I suppose we'll have to wait the answer of a numpy guru ;)

Matthieu
--
French PhD student
Website : http://miles.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92