summaryrefslogtreecommitdiffstats
path: root/Objects/codeobject.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-08-25 02:01:50 (GMT)
committerGitHub <noreply@github.com>2022-08-25 02:01:50 (GMT)
commit979a3b8cd3861c2a40b560f891e5828500f35416 (patch)
tree81ceec7fc7bc9728248c9b326b0f0b57c2f74dcb /Objects/codeobject.c
parent41e8257449c2c44bbe8fc9577cdf5ba0c54b867d (diff)
downloadcpython-979a3b8cd3861c2a40b560f891e5828500f35416.zip
cpython-979a3b8cd3861c2a40b560f891e5828500f35416.tar.gz
cpython-979a3b8cd3861c2a40b560f891e5828500f35416.tar.bz2
gh-95243: Mitigate the race condition in testSockName (GH-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> (cherry picked from commit df110126971d0271a977ce10779083b3e335b4da) Co-authored-by: Ross Burton <ross.burton@arm.com>
Diffstat (limited to 'Objects/codeobject.c')
0 files changed, 0 insertions, 0 deletions