Rémy HUBSCHER <remy.hubsc...@ionyse.com> added the comment: It is exactly what explained Alexis.
The __import__ can failed in two case : - The module doesn't exist - There is a error in the module With the previous behaviour, even if the module exist, the message was that it doesn't exists. And it was then not fast forward to guess where was the error. With this new behaviour, if there is an __import__ error and the module file actually exists, then we raise the real exception problem from the module that we try to import. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12703> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com