[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-dev
Subject:    Re: [Python-Dev] PEP 344: Exception Chaining and Embedded Tracebacks
From:       Toby Dickenson <tdickenson () devmail ! geminidataloggers ! co ! uk>
Date:       2005-05-19 11:43:24
Message-ID: 200505191243.24981.tdickenson () devmail ! geminidataloggers ! co ! uk
[Download RAW message or body]

On Monday 16 May 2005 22:41, Ka-Ping Yee wrote:
>     http://www.python.org/peps/pep-0344.html

|     2.  Whenever an exception is raised, if the exception instance does
|         not already have a '__context__' attribute, the interpreter sets
|         it equal to the thread's exception context.

Should that be "if the exception instance does not already have a __context__ 
attribute or the value of that attribute is None...."

-- 
Toby Dickenson
_______________________________________________
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/python-dev%40progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic