mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-26 19:31:15 -03:00
"socket.has_ipv6" is basically useless - it tells you python has been *compiled* with ipv6 support. Instead just try ipv6 and if that fails with EAFNOSUPPORT (checking the actual errno), try v4. Yes, I explicitly do not care to test this on python2. Fixes #3857