New submission from Matthew Stoltenberg :
The following causes a ValueError in the create_connection convenience function
import socket
sock1 = socket.create_connection(('::1', '80'))
sock2 = socket.create_connection(sock1.getpeername())
--
components: Library (L
Change by Matthew Stoltenberg :
--
title: socket.creaet_connection needs to support full IPv6 argument ->
socket.create_connection needs to support full IPv6 argument
___
Python tracker
<https://bugs.python.org/issu
Matthew Stoltenberg added the comment:
The naive change is to have the host, port tuple assignment use only the first
two values from address. I can open a PR with that change (and update the
docstring for the function) if that's the right change. For reference, the
python socke