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.

classification
Title: inserting None into sys.modules does not raise ImportError with importlib
Type: behavior Stage: test needed
Components: Library (Lib) Versions: Python 3.1, Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: brett.cannon
Priority: normal Keywords:

Created on 2009-07-24 18:11 by brett.cannon, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg90889 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2009-07-24 18:11
When you insert None into sys.modules, the built-in import raises an 
ImportError, but importlib does not.

See http://mail.python.org/pipermail/python-dev/2009-July/090780.html for 
the discussion that brought this up.
msg92080 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2009-08-30 04:37
Fixed in py3k with r74584 & 3.1 w/ r74586.
History
Date User Action Args
2022-04-11 14:56:51adminsetgithub: 50812
2009-08-30 04:37:21brett.cannonsetstatus: open -> closed
resolution: fixed
messages: + msg92080
2009-07-24 18:11:54brett.cannoncreate