[issue27352] Bug in IMPORT_NAME

Serhiy Storchaka report at bugs.python.org
Mon Jun 20 17:35:38 EDT 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue27352>
_______________________________________


More information about the Python-bugs-list mailing list