• Guido van Rossum's avatar
    Running the tests on Win98 would occasionally hang in the trigger · 4ff0c9ad
    Guido van Rossum authored
    __init__.  The hang was in the accept() call.  I don't understand
    exactly why, but I suspect it was because we were always reusing
    the same port when a trigger was closed and another opened right
    away.  Fixed this by cycling over ports [19950...19999].
    
    Also cleaned up the code somewhat.
    4ff0c9ad
trigger.py 6.82 KB