[Numpy-discussion] suggestion for generalizing numpy functions