[Zope3-dev] Exceptions in interfaces hierarchy?

Jim Fulton jim@zope.com
Sat, 14 Dec 2002 09:45:30 -0500


I think that exceptions are a lot more like interfaces than
they are like implementation. They form part of the API of a system.

I suggest that we move exceptions to the interface hierarchy.

For example, in Zope.App.Security we have a an Exceptions.py, that
defines a single exception, and a bunch of interfaces files.
These would be merged into a single interfaces file,
zope/app/interfaces/security.py.

Jim

-- 
Jim Fulton           mailto:jim@zope.com       Python Powered!
CTO                  (888) 344-4332            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org