]> 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:09:57 +0000 (18:09 -0700)
committerGitHub <noreply@github.com>
Wed, 1 Apr 2020 01:09:57 +0000 (18:09 -0700)
commitf2b83c782f9aceada1108f28cc027751751b7f2f
tree0d768776d23fba733c396b9e4c7dcf3dd3d4bdbc
parentad8e56d0941838240b24b7dcab6e082550191022
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