[Zope] I missed your responses

Pavlos Christoforou pavlos@gaaros.msrc.sunysb.edu
Fri, 10 Dec 1999 12:26:30 -0500 (EST)


On Fri, 10 Dec 1999, Daniel G. Rusch wrote:

> I know that I have asked this question before and that several people
> have responded. But for what ever reason I did not receive the
> responses. If it's not too much to ask could the kind people who
> responded re-post their responses I'd greatly appreciate it.
> 
> What is the definition of (or where can I find one):
> 1. KeyError
> 2. AttributeError 
> 3. NameError
> 

These are standard python exceptions:

From the python lib reference page 13

NameError: raised when a global or local name is not found.

AttributeError: raised when an attribute reference or assignment fails

KeyError: Raised when a mapping key is not found in the set of existing
keys.


Pavlos