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 brett.cannon
Recipients brett.cannon, eric.snow, iomintz, miss-islington, ncoghlan
Date 2019-07-15.18:55:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563216956.72.0.032358150977.issue37521@roundup.psfhosted.org>
In-reply-to
Content
I'm not sure why you think importlib.util.module_from_spec() adds a module to sys.modules? https://docs.python.org/3/library/importlib.html#importlib.util.module_from_spec doesn't say that nor does https://github.com/python/cpython/blob/master/Lib/importlib/_bootstrap.py#L549 actually do that.
History
Date User Action Args
2019-07-15 18:55:56brett.cannonsetrecipients: + brett.cannon, ncoghlan, eric.snow, miss-islington, iomintz
2019-07-15 18:55:56brett.cannonsetmessageid: <1563216956.72.0.032358150977.issue37521@roundup.psfhosted.org>
2019-07-15 18:55:56brett.cannonlinkissue37521 messages
2019-07-15 18:55:56brett.cannoncreate