Nathaniel Smith wrote:
For the numpy case, we really need to see all the operands, *and* know what the operation in question is...
Okay, I see what you mean now. Given all that, it might be simpler just to have the method perform the operation itself if it can. It has all the information necessary to do so, after all. This would also make it possible for the inplace operators to have different semantics from temp-elided non-inplace ones if desired. -- Greg _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com