if _bootstrap._find_spec() return None, an ImportError is raised stating: module could not be found in the path specified
brettcannon
changed the title
bpo-29851: Raising an ImportError if module not found
bpo-29851: Have importlib.reload() raise ImportError if the module's spec is not found
using a temperory modulue and destroying it's meta data and trying to reload to raise ModuleNotFoundError exception
brettcannon
changed the title
bpo-29851: Have importlib.reload() raise ImportError if the module's spec is not found
[WIP] bpo-29851: Have importlib.reload() raise ImportError if the module's spec is not found
Adding version change to the documentation. Uncaching the module so that we cleanup the mess made in sys.modules
plusminushalf
changed the title
[WIP] bpo-29851: Have importlib.reload() raise ImportError if the module's spec is not found
bpo-29851: Have importlib.reload() raise ImportError if the module's spec is not found
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters