Robert Brewer wrote: > Barry Warsaw wrote: > >>Again, I'd say something like: Since your exceptions >>will be classes, use the CapWord naming convention for >>classes to name your exceptions. It is recommended >>that your exception class end in the word "Error". > > > Unless, of course, your exception is not an error (like the > aforementioned HTTPRedirect). ;) > For library modules I'd recommend that the exception hierarchy be rooted at either BaseError (for modules not designed from import-*) or ModulenameBaseError (for those that are).
regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC www.holdenweb.com PyCon TX 2006 www.python.org/pycon/ _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com