[Python-Dev] _not_found attribute on ImportError (original) (raw)

Chris Withers chris at simplistix.co.uk
Mon Feb 11 09:08:02 CET 2013


Hi All,

I see in Python 3, some ImportErrors have grown a '_not_found' attribute. What's the significance of this attribute and where/how is it added?

The only way I can seem to create this attribute is:

ex = ImportError ex._not_found = True

cheers,

Chris

-- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk



More information about the Python-Dev mailing list