[Python-Dev] _not_found attribute on ImportError

Nick Coghlan ncoghlan at gmail.com
Mon Feb 11 12:23:00 CET 2013
On Mon, Feb 11, 2013 at 8:58 PM, Chris Withers <chris at simplistix.co.uk> wrote:
> Have any other exceptions grown new attributes in Python 3?

Off the top of my head, ImportError grew "name" and "path" attributes
in 3.3, everything grew __cause__, __context__ and __traceback__
attributes in 3.0 and the __suppress_context__ attribute in 3.3.

PEP 3151 may have moved a few attributes around in 3.3 as well.

If there are any others, you'll need to trawl the What's New documents
looking for them.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list