Message164017
Ah, you're right. But it could become confusing if some error is raised inside of importlib itself (not an ImportError, something else - perhaps a bug).
So I would suggest the following:
- trim ImportErrors
- trim errors raised when executing the code of an imported module (i.e. in _LoaderBasics._load_module())
- don't trim other errors, since they can be importlib programming errors |
|
Date |
User |
Action |
Args |
2012-06-25 20:40:27 | pitrou | set | recipients:
+ pitrou, gvanrossum, brett.cannon, georg.brandl, amaury.forgeotdarc, Arfrever, r.david.murray |
2012-06-25 20:40:27 | pitrou | set | messageid: <1340656827.55.0.956506343754.issue15110@psf.upfronthosting.co.za> |
2012-06-25 20:40:26 | pitrou | link | issue15110 messages |
2012-06-25 20:40:26 | pitrou | create | |
|