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 terry.reedy
Recipients brett.cannon, terry.reedy
Date 2013-08-31.17:11:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377969115.88.0.195479100868.issue18831@psf.upfronthosting.co.za>
In-reply-to
Content
Adding something like '(not builtins.__import__)' or '(different from builtins.__import__') after 'importlib.__import__' should reduce the possibility of confusing the two and expecting something that will not happen.

You might check the doc for (builtins.)__import__ to make sure it does not promise anything that is no longer true.

What happens if people monkeypatch importlib.__import__?
History
Date User Action Args
2013-08-31 17:11:55terry.reedysetrecipients: + terry.reedy, brett.cannon
2013-08-31 17:11:55terry.reedysetmessageid: <1377969115.88.0.195479100868.issue18831@psf.upfronthosting.co.za>
2013-08-31 17:11:55terry.reedylinkissue18831 messages
2013-08-31 17:11:55terry.reedycreate