[Python-Dev] PEP 8 updates/clarifications

Robert Brewer fumanchu at amor.org
Sat Dec 10 01:23:50 CET 2005


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). ;)


Robert Brewer
System Architect
Amor Ministries
fumanchu at amor.org


More information about the Python-Dev mailing list