Message259157
I think I'm liking the following approach:
if __debug__:
hopefully_None = loader.create_module(spec)
if hopefully_None is not None:
warnings.warn("watch out!", ImportWarning) |
|
Date |
User |
Action |
Args |
2016-01-28 20:30:36 | brett.cannon | set | recipients:
+ brett.cannon, ncoghlan, kdart, eric.snow |
2016-01-28 20:30:36 | brett.cannon | set | messageid: <1454013036.24.0.585719322242.issue26186@psf.upfronthosting.co.za> |
2016-01-28 20:30:36 | brett.cannon | link | issue26186 messages |
2016-01-28 20:30:36 | brett.cannon | create | |
|