
March 23, 2021
2:47 p.m.
Brent Gardner <bggardner@gmail.com> added the comment: This test was overlooked, and line 2052 should now be removed per the discussion here: https://github.com/python/cpython/pull/14392#issuecomment-506133908 In short, getsockname() used to return `(interface, socket.AF_CAN)`, in which the socket.AF_CAN element was superfluous (also undocumented), so it was removed in the fix, and the tuple format was reinstated. ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue37405> _______________________________________