This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients brett.cannon, eric.snow, ncoghlan, serhiy.storchaka
Date 2016-06-20.21:35:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466458538.68.0.934303070225.issue27352@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-06-20 21:35:38serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ncoghlan, eric.snow
2016-06-20 21:35:38serhiy.storchakasetmessageid: <1466458538.68.0.934303070225.issue27352@psf.upfronthosting.co.za>
2016-06-20 21:35:38serhiy.storchakalinkissue27352 messages
2016-06-20 21:35:37serhiy.storchakacreate