diff options
author | Victor Stinner <vstinner@python.org> | 2024-05-23 21:26:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 21:26:09 (GMT) |
commit | e94dbe4ed83460f18bd72563c5f09f6cdc71f604 (patch) | |
tree | 510ccc893c476694bd9a50c167f6ca74346059d3 /Python/pathconfig.c | |
parent | be1dfccdf2c5c7671b8a549e969b8cf7d60d9936 (diff) | |
download | cpython-e94dbe4ed83460f18bd72563c5f09f6cdc71f604.zip cpython-e94dbe4ed83460f18bd72563c5f09f6cdc71f604.tar.gz cpython-e94dbe4ed83460f18bd72563c5f09f6cdc71f604.tar.bz2 |
gh-119461: Fix ThreadedVSOCKSocketStreamTest (#119465)
Add socket.VMADDR_CID_LOCAL constant.
Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the host
address or the "any" address, use the local communication address
(loopback): VMADDR_CID_LOCAL.
On Linux 6.9, apparently, the /dev/vsock device is now available but
get_cid() returns VMADDR_CID_ANY (-1).
Diffstat (limited to 'Python/pathconfig.c')
0 files changed, 0 insertions, 0 deletions