On 10/18/05, Michel Pelletier <[EMAIL PROTECTED]> wrote:
> NotImplemented is a singleton object, introduced in 2.1 (I think), used
> for rich comparision:
> http://www.python.org/peps/pep-0207.html
> I suspect (although I'm often wrong!) the author of the book you are
> reading might have used it incorrectly.
> NotImplementedError is an exception to raise to indicate that a feature
> or method is not implemented.  It's probably the one you want.

Definately!  The similar naming of these two built-ins has been an
endless cause for confussion.


Fred L. Drake, Jr.    <fdrake at gmail.com>
"Society attacks early, when the individual is helpless." --B.F. Skinner
Zope3-users mailing list

Reply via email to