On Nov 26, 2009, at 1:06 AM, Simon King wrote: > Hi Robert, > > On Nov 26, 8:41 am, Robert Bradshaw <rober...@math.washington.edu> > wrote: > [...] >> Though all of the above look like errors to me, not that there is the >> special value NotImplemented that can be *returned* in certain cases >> >> http://docs.python.org/library/constants.html > > But NotImplementedError is a Python object, and (as any object) it can > be returned.
Yes, I understand that it can be returned, but it almost always should be raised. My point (which was somewhat tangential) is that there is an object NotImplemented that's meant to be returned, not raised, under normal circumstances. - Robert -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org