Author bmintz
Recipients bmintz, brett.cannon, eric.snow, miss-islington, ncoghlan
Date 2019-07-17.17:41:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563385287.78.0.794880134226.issue37521@roundup.psfhosted.org>
In-reply-to
Content
```
name = 'testext'

spec = importlib.util.find_spec(name)
print(name in sys.modules)
module = importlib.util.module_from_spec(spec)
print(name in sys.modules)
spec.loader.exec_module(module)
print(name in sys.modules)
```

This prints False, False, True though.
History
Date User Action Args
2019-07-17 17:41:27bmintzsetrecipients: + bmintz, brett.cannon, ncoghlan, eric.snow, miss-islington
2019-07-17 17:41:27bmintzsetmessageid: <1563385287.78.0.794880134226.issue37521@roundup.psfhosted.org>
2019-07-17 17:41:27bmintzlinkissue37521 messages
2019-07-17 17:41:27bmintzcreate