[Python-Dev] PEP 8 updates/clarifications

Barry Warsaw barry at python.org
Sat Dec 10 05:35:28 CET 2005


On Fri, 2005-12-09 at 16:23 -0800, 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). ;)

Good point!
-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20051209/3da1efd5/attachment.pgp


More information about the Python-Dev mailing list