[New-bugs-announce] [issue32224] socket.creaet_connection needs to support full IPv6 argument

Matthew Stoltenberg report at bugs.python.org
Tue Dec 5 13:44:36 EST 2017


New submission from Matthew Stoltenberg <d3matt at gmail.com>:

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 (Lib)
messages: 307674
nosy: Matthew Stoltenberg
priority: normal
severity: normal
status: open
title: socket.creaet_connection needs to support full IPv6 argument
type: behavior
versions: Python 3.4, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32224>
_______________________________________


More information about the New-bugs-announce mailing list