On Thu, May 27, 2010 at 12:57 PM, Pauli Virtanen <[email protected]> wrote: > Thu, 27 May 2010 10:21:14 -0600, Charles R Harris wrote: > [clip] >> Maybe an enhancement ticket. The NotImplemented return is appropriate >> for some functions, but for functions with a single argument we should >> probably raise an error. > > A NotImplemented value leaking to the the user is a bug. The function > should raise a ValueError instead. > > NotImplemented is meant only for use as a placeholder singleton in > implementation of rich comparison operations etc., and we shouldn't > introduce any new meanings IMHO.
http://projects.scipy.org/numpy/ticket/1494 with a few examples I don't know which component Josef > > -- > Pauli Virtanen > > _______________________________________________ > NumPy-Discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion > _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
