• Brett Cannon's avatar
    One of the joys of having test_multiprocessing occasionally execute after · ee6d6477
    Brett Cannon authored
    test_importlib is that it discovers special little race conditions. For
    instance, it turns out that importlib would throw an exception if two different
    Python processes both tried to create the __pycache__ directory as one process
    would succeed, causing the other process to fail as it didn't expect to get any
    "help". So now importlib simply stays calm and just accepts someone else did
    the work of creating the __pycache__ directory for it, moving on with life.
    
    Closes issue #9572.
    ee6d6477
_bootstrap.py 29.3 KB