[Import-SIG] improving ImportError
ericsnowcurrently at gmail.com
Wed Sep 21 21:06:22 CEST 2011
Armin Ronacher has an interesting blog post about some of the
challenges of using Python's imports:
In particular, his main point about "not found" vs. "broken" vs.
"problem with inner import" got me thinking. Would it be a bad idea
to split ImportError into more specific exceptions? I imagine that
cataloguing the different causes of ImportError and how someone might
react to those differently wouldn't be too hard...
More information about the Import-SIG