Re: [Numpy-discussion] Non-meta indexing improvements discussion

2015-04-09 Thread Robert Kern
On Thu, Apr 9, 2015 at 8:07 AM, Sebastian Berg wrote: > > On Do, 2015-04-09 at 08:50 +0200, Sebastian Berg wrote: > > 3. I do not know if it possible or useful, but I could imagine a module > > wide switch (similar to __future__ imports) to change the default > > indexing behaviour. > > OK, my su

Re: [Numpy-discussion] Non-meta indexing improvements discussion

2015-04-09 Thread Sebastian Berg
On Do, 2015-04-09 at 08:50 +0200, Sebastian Berg wrote: > Hi all, > > Let me take a shot at summing up some suggestions to make the indexing > less surprising, and maybe we can gather some more in a more > concentrated way now. > Did not want to comment on the first mail > 1. Implement somethin

[Numpy-discussion] Non-meta indexing improvements discussion

2015-04-08 Thread Sebastian Berg
Hi all, Let me take a shot at summing up some suggestions to make the indexing less surprising, and maybe we can gather some more in a more concentrated way now. 1. Implement something like `arr.fancy_index[...]` and `arr.ortho_index[...]` (i.e. Jaimes PR is the start for trying this) 2. Add war