Message332139
The two errors mean different things: ModuleNotFoundError means literally that the module could not be found at all (i.e. no import hook offered to try to load it)
A plain ImportError then means that the module was located, but attempting to actually load it failed.
find_spec()/find_loader()/find_module() implementations on import plugins shouldn't be raising exceptions for modules they don't offer, and hence shouldn't be needing to raise ModuleNotFoundError directly. |
|
Date |
User |
Action |
Args |
2018-12-19 13:52:49 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, eric.snow, dw, davin |
2018-12-19 13:52:49 | ncoghlan | set | messageid: <1545227569.28.0.788709270274.issue35486@psf.upfronthosting.co.za> |
2018-12-19 13:52:49 | ncoghlan | link | issue35486 messages |
2018-12-19 13:52:49 | ncoghlan | create | |
|