summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-08-25 01:37:18 (GMT)
committerGitHub <noreply@github.com>2022-08-25 01:37:18 (GMT)
commitdf110126971d0271a977ce10779083b3e335b4da (patch)
tree2cb51687e1131c7621aa6b190c0b9c8bcde006ab /Python/Python-ast.c
parente34c82abeb7ace09e6b5d116585c47cc372996c1 (diff)
downloadcpython-df110126971d0271a977ce10779083b3e335b4da.zip
cpython-df110126971d0271a977ce10779083b3e335b4da.tar.gz
cpython-df110126971d0271a977ce10779083b3e335b4da.tar.bz2
gh-95243: Mitigate the race condition in testSockName (#96173)
find_unused_port() has an inherent race condition, but we can't use bind_port() as that uses .getsockname() which this test is exercising. Try binding to unused ports a few times before failing. Signed-off-by: Ross Burton <ross.burton@arm.com>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions