def random_port():
    sock = socket.socket()
    sock.bind(('', 0))
    port = sock.getsockname()[1]
    sock.close()
    return port

# ISO8601 for strptime with/without milliseconds
Update the hash using the given dictionary or key/value pairs.
dataset/ETHPy150Open jupyterhub/jupyterhub/jupyterhub/utils.py/random_port--crossover with--dataset/ETHPy150Open coleifer/walrus/walrus/containers.py/Hash.update