This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients bue, paul.moore, steve.dower, tim.golden, zach.ware
Date 2017-09-01.06:10:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504246220.97.0.419802976462.issue31318@psf.upfronthosting.co.za>
In-reply-to
Content
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")
History
Date User Action Args
2017-09-01 06:10:21steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, zach.ware, bue
2017-09-01 06:10:20steve.dowersetmessageid: <1504246220.97.0.419802976462.issue31318@psf.upfronthosting.co.za>
2017-09-01 06:10:20steve.dowerlinkissue31318 messages
2017-09-01 06:10:20steve.dowercreate