[issue29851] Have importlib.reload() raise ImportError when a spec can't be found

2017-04-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Wouldn't ModuleNotFoundError be more appropriate? -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue29851] Have importlib.reload() raise ImportError when a spec can't be found

2017-04-03 Thread Garvit Khatri
Changes by Garvit Khatri : -- pull_requests: +1149 ___ Python tracker ___ ___

[issue29851] Have importlib.reload() raise ImportError when a spec can't be found

2017-03-20 Thread Brett Cannon
Brett Cannon added the comment: First, I don't know what version you're testing against because 3.0.6.1 isn't an actual release of Python and 3.6.1 isn't released yet (unless you know something I don't know :) ). Second, the issue is that you're trying to import a module under a name which