Eric Snow added the comment:

The following seems to indicate that an ImportError should be raised as 
expected.  I'm guessing that somewhere along the line the exception gets 
silently eaten.

------------------

(3.2) Python/import.c:ensure_fromlist() [1]

            submod = import_submodule(mod, subname, buf);
            Py_DECREF(item8);
            Py_XDECREF(submod);
            if (submod == NULL) {
                Py_DECREF(item);
                return 0;
            }

[1] http://hg.python.org/cpython/file/3.2/Python/import.c#l2875

----------

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

Reply via email to