]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Handle when IOCTL_VM_SOCKETS_GET_LOCAL_CID does not exist in "socket" (GH-19270)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Apr 2020 01:25:34 +0000 (18:25 -0700)
committerGitHub <noreply@github.com>
Wed, 1 Apr 2020 01:25:34 +0000 (18:25 -0700)
commit6acafee247849b39d65dd0d61c6e57a6ffabdc32
tree66ab3e00f29bb631c7462e4658f7a28b6f243d83
parent40e1b04e389f2f6d4d31079d5622fc27af6ebed7
Handle when IOCTL_VM_SOCKETS_GET_LOCAL_CID does not exist in "socket" (GH-19270)

Running `test_socket` or anything that depends on it (like python -m
test.pythoninfo) crashes if IOCTL_VM_SOCKETS_GET_LOCAL_CID does not
exist in the socket module.

Automerge-Triggered-By: @pablogsal
(cherry picked from commit 6eb9619c88612565b424be14196a8adae6d51978)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Lib/test/test_socket.py