[New-bugs-announce] [issue8853] getaddrinfo should accept port of type long

AndiDog report at bugs.python.org
Sat May 29 19:48:13 CEST 2010


New submission from AndiDog <AndiDog at web.de>:

socket.getaddrinfo("127.0.0.1", 80L)
error: Int or String expected

I would expect getaddrinfo to convert the port number to an integer.

----------
components: Library (Lib)
messages: 106726
nosy: AndiDog
priority: normal
severity: normal
status: open
title: getaddrinfo should accept port of type long
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8853>
_______________________________________


More information about the New-bugs-announce mailing list