• Guido van Rossum's avatar
    Running the tests on Win98 would occasionally hang in the trigger · 0e6f5862
    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.
    0e6f5862
trigger.py 6.82 KB