[issue13192] ImportError silences low-level OS errors
Antoine Pitrou
report at bugs.python.org
Mon Oct 17 19:17:40 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> Are you suggesting raising the OSError (or something else) rather than
> an ImportError? If so, would it make sense to chain the exception
> instead. That way the existing code that expects ImportError
> continues to work
Does any existing code rely on ImportError being raised when there's a
rare OS error of some sort?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13192>
_______________________________________
More information about the Python-bugs-list
mailing list