diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-07-30 03:40:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-30 03:40:02 (GMT) |
commit | b252317956b7fc035bb3774ef6a177e227f9fc54 (patch) | |
tree | f7d2b4e46f9e34c2d38f37a8da9140298bb011a5 /Lib/threading.py | |
parent | 55554fd2157cbf52caf6c01a64d81b948c41e82c (diff) | |
download | cpython-b252317956b7fc035bb3774ef6a177e227f9fc54.zip cpython-b252317956b7fc035bb3774ef6a177e227f9fc54.tar.gz cpython-b252317956b7fc035bb3774ef6a177e227f9fc54.tar.bz2 |
[3.13] gh-122133: Authenticate socket connection for `socket.socketpair()` fallback (GH-122134) (GH-122424)
Authenticate socket connection for `socket.socketpair()` fallback when the platform does not have a native `socketpair` C API. We authenticate in-process using `getsocketname` and `getpeername` (thanks to Nathaniel J Smith for that suggestion).
(cherry picked from commit 78df1043dbdce5c989600616f9f87b4ee72944e5)
Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Lib/threading.py')
0 files changed, 0 insertions, 0 deletions