Message301085
util is a submodule of importlib, and so it should always be imported before using it.
Other platforms may import it for various other reasons, but that is not part of the API. You should fix it by typing (note that the first line is different from yours):
>>> import importlib.util
>>> importlib.util.find_spec("re") |
|
| Date |
User |
Action |
Args |
| 2017-09-01 06:10:21 | steve.dower | set | recipients:
+ steve.dower, paul.moore, tim.golden, zach.ware, bue |
| 2017-09-01 06:10:20 | steve.dower | set | messageid: <1504246220.97.0.419802976462.issue31318@psf.upfronthosting.co.za> |
| 2017-09-01 06:10:20 | steve.dower | link | issue31318 messages |
| 2017-09-01 06:10:20 | steve.dower | create | |
|