Author iomintz
Recipients brett.cannon, eric.snow, iomintz, 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:27iomintzsetrecipients: + iomintz, brett.cannon, ncoghlan, eric.snow, miss-islington
2019-07-17 17:41:27iomintzsetmessageid: <1563385287.78.0.794880134226.issue37521@roundup.psfhosted.org>
2019-07-17 17:41:27iomintzlinkissue37521 messages
2019-07-17 17:41:27iomintzcreate