New issue submitted here: https://github.com/numpy/numpy/issues/7122
I suggest moving this discussion there. On 1/26/16, 10:49 AM, "NumPy-Discussion on behalf of Solbrig,Jeremy" <[email protected] on behalf of [email protected]> wrote: >The problem isn’t specifically with _optinfo. _optinfo losing information is >just a symptom of the fact that __array_prepare__, __array_wrap__, and >__array_finalize__ do not appear to be working as documented. So far as I can >tell, there is no way to access attributes of subclasses when using >mathematical operators so it is impossible to maintain subclasses that contain >additional attributes. > > > >On 1/26/16, 10:45 AM, "NumPy-Discussion on behalf of Sebastian Berg" ><[email protected] on behalf of [email protected]> >wrote: > >>was changed to something like: >> >> masked_result._update_from(result) >> >>My guess is almost that this fixed some other bug (but you should >>probably check git blame to see why it was put in). It might be that >>_optinfo should be handled more specifically. It seems like a very >>weird feature to me though when the info is always copied from the left >>operand... >_______________________________________________ >NumPy-Discussion mailing list >[email protected] >https://mail.scipy.org/mailman/listinfo/numpy-discussion _______________________________________________ NumPy-Discussion mailing list [email protected] https://mail.scipy.org/mailman/listinfo/numpy-discussion
