New submission from Brett Cannon <br...@python.org>: If you look at http://hg.python.org/cpython/file/abcd29c9a791/Lib/importlib/__init__.py you will notice that the try/except block for seeing if _frozen_importlib exists catches ImportError, not KeyError like it should since it is checking sys. modules and not performing an import.
---------- components: Library (Lib) messages: 164188 nosy: brett.cannon priority: normal severity: normal stage: test needed status: open title: importlib.__init__ checks for the wrong exception when looking for _frozen_importlib versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15210> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com