Author ncoghlan
Recipients brett.cannon, eric.snow, ncoghlan, paul.moore, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware
Date 2017-07-10.15:28:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499700532.06.0.543256565081.issue30891@psf.upfronthosting.co.za>
In-reply-to
Content
I'm about to head to bed so I'll get back to this discussion tomorrow, but in the meantime: Victor, maybe it would make sense to reformulate your reproducer as a monkeypatch for _find_and_load_unlocked() that injects the 10 ms sleep from the test case if it finds _frozen_importlib in sys.modules?

That is, temporarily replacing it with something like:

    orig_find_and_load_unlocked = _frozen_importlib._find_and_load_unlocked
    def _slow_find_and_load_unlocked(name, import_):
        time.sleep(0.010)
        return orig_find_and_load_unlocked(name, import_)

That way, we'd hopefully be able to reproduce the failure independently of the slower buildbot.
History
Date User Action Args
2017-07-10 15:28:52ncoghlansetrecipients: + ncoghlan, brett.cannon, paul.moore, vstinner, tim.golden, eric.snow, zach.ware, serhiy.storchaka, steve.dower
2017-07-10 15:28:52ncoghlansetmessageid: <1499700532.06.0.543256565081.issue30891@psf.upfronthosting.co.za>
2017-07-10 15:28:52ncoghlanlinkissue30891 messages
2017-07-10 15:28:51ncoghlancreate