Eric Snow <ericsnowcurren...@gmail.com> 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, while still 
allowing access to the original error through __cause__.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13192>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to