Serhiy Storchaka added the comment:

Thak you for the explanation Brett.

Since current "import" without "from" is not broken, I suppose that the raised 
exception is cleared somewhere later. The patch doesn't have visible effect 
(unless may be using nonstandard loaders or __import__, don't know). It just 
cleans up the code, avoid raising unneeded exception (small performance boost) 
and may be fix some hidden non-reproducible bug.

----------

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

Reply via email to