So the underlying problem with the controversial inplace_increment PR[1] is that currently, there's actually nothing in the public numpy API that exposes the workings of numpy indexing. The only thing you can do with a numpy index is call ndarray.__getattr__ or __setattr__. This is a pretty obvious gap, given how fundamental an operation indexing is in numpy (and how difficult to emulate). So how can we expose something that fixes it? Make PyArrayMapIterObject part of the public API? Something else?
-n [1] https://github.com/numpy/numpy/pull/326 _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
