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 shihai1991
Recipients brett.cannon, eric.snow, ncoghlan, p-ganssle, shihai1991
Date 2020-04-06.10:23:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586168581.4.0.929021098263.issue40173@roundup.psfhosted.org>
In-reply-to
Content
> I *think* the problem is that in the step where _save_and_remove_module is called on fresh_name (see here: https://github.com/python/cpython/blob/76db37b1d37a9daadd9e5b320f2d5a53cd1352ec/Lib/test/support/__init__.py#L328-L329)

Looks like deleting a module name after `__import__(name)` is not good enought in https://github.com/python/cpython/blob/master/Lib/test/support/__init__.py#L244.(some redundant submodules should be removed, no?)

paul's example can be passed in PR19390.
History
Date User Action Args
2020-04-06 10:23:01shihai1991setrecipients: + shihai1991, brett.cannon, ncoghlan, eric.snow, p-ganssle
2020-04-06 10:23:01shihai1991setmessageid: <1586168581.4.0.929021098263.issue40173@roundup.psfhosted.org>
2020-04-06 10:23:01shihai1991linkissue40173 messages
2020-04-06 10:23:01shihai1991create