]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-128277: remove unnecessary critical section from `socket.close` (#128305)
authorKumar Aditya <kumaraditya@python.org>
Wed, 1 Jan 2025 12:30:47 +0000 (18:00 +0530)
committerGitHub <noreply@github.com>
Wed, 1 Jan 2025 12:30:47 +0000 (18:00 +0530)
commitbb9d955e16c5578bdbc72750fbbffc8313559109
treed37a4aca10256f4627388f58b3683c1bee7b4a1d
parentd903b17499b1a3bfb3ea848f6a1b6da02eac3328
gh-128277: remove unnecessary critical section from `socket.close`  (#128305)

Remove unnecessary critical section from `socket.close` as it now uses relaxed atomics for `sock_fd`.
Lib/test/test_socket.py
Modules/clinic/socketmodule.c.h
Modules/socketmodule.c